]> git.karo-electronics.de Git - karo-tx-linux.git/commit
staging: comedi: ni_mio_common: init clock dividers early in ni_E_init()
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 14 Jul 2014 19:23:59 +0000 (12:23 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 16 Jul 2014 20:24:43 +0000 (13:24 -0700)
commitcaedecfa3a0aea7dc588fd9bb8a0453e74d381c9
treef0cfc2f580879503e37d9cbfb28bfe9bfb944382
parent2d4ecc38b9e5491c0a655ac549ee52c586955231
staging: comedi: ni_mio_common: init clock dividers early in ni_E_init()

The init/reset of the hardware is a bit scattered in this function. For
aesthetics, move the init of the clock dividers so it happens early and
tidy up the code a bit.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Reviewed-by: Ian Abbott <abbotti@mev.co.uk>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/comedi/drivers/ni_mio_common.c