OSDN Git Service

staging: comedi: amplc_dio200_common: introduce DIO200_CLK_SEL() macro
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Mon, 23 Feb 2015 21:57:54 +0000 (14:57 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 2 Mar 2015 02:51:52 +0000 (18:51 -0800)
commit1ec7271dbc05542c27956bdd79aca6c4e80ae516
tree91b7d8bc04a7435ae598782b2af72980066c38e5
parenta9da9d20576685b7b3818013d5e1de2367bcff8b
staging: comedi: amplc_dio200_common: introduce DIO200_CLK_SEL() macro

Replace the DIO200_[XYZ]CLK_SEL defines with a macro that returns the
correct register offset.

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/amplc_dio200_common.c