From: Lars-Peter Clausen Date: Wed, 16 Jan 2013 12:48:00 +0000 (+0000) Subject: staging:iio:adis16400: Add helper macros for channel declaration X-Git-Tag: v3.9-rc1~127^2~276^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=599acfbb974dbce63c3f33f169c74fffdadcfa72;p=pandora-kernel.git 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 Signed-off-by: Jonathan Cameron --- Reading git-diff-tree failed