commit | 5f907df0302b1d723887926ec7dba39bf1d31da5 | [log] [tgz] |
---|---|---|
author | H Hartley Sweeten <hsweeten@visionengravers.com> | Mon Feb 23 14:57:55 2015 -0700 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Sun Mar 01 18:51:52 2015 -0800 |
tree | 4f5c80b41736a1c5fea8470b8dc4fb0e0f5c9458 | |
parent | 1ec7271dbc05542c27956bdd79aca6c4e80ae516 [diff] |
staging: comedi: amplc_dio200_common: introduce DIO200_GAT_SEL() macro Replace the DIO200_[XYZ]GAT_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>