Skip to content

Commit

Permalink
staging:iio:adis16400: Add helper macros for channel declaration
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lars-Peter Clausen authored and Jonathan Cameron committed Jan 26, 2013
1 parent 1ffe2e7 commit 599acfb
Showing 1 changed file with 140 additions and 417 deletions.
Loading

0 comments on commit 599acfb

Please sign in to comment.