commit | 599acfbb974dbce63c3f33f169c74fffdadcfa72 | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Wed Jan 16 12:48:00 2013 +0000 |
committer | Jonathan Cameron <jic23@kernel.org> | Sat Jan 26 10:07:48 2013 +0000 |
tree | 4df526e49c402fae237f75a4b525f8cd06a8b890 | |
parent | 1ffe2e7ac000b7a7c01b22cd64cc3d4ef01a9def [diff] |
staging:iio:adis16400: Add helper macros for channel declaration Most of the channels declared in the adis16400 driver look quite similar. This patch adds a bunch of helper macros to initialize the channel spec for this driver. This allows us to drastically reduce the number of lines of code needed for the channel spec declaration. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>