commit | ae6d648940dbf3f158423865b51a70a6571d872d | [log] [tgz] |
---|---|---|
author | Lars-Peter Clausen <lars@metafoo.de> | Tue Mar 26 18:43:00 2013 +0000 |
committer | Jonathan Cameron <jic23@kernel.org> | Fri Mar 29 09:16:46 2013 +0000 |
tree | 00da5cb03f967273bdb90325c1d1a4970ca8b30b | |
parent | 34244ceccd99fab2a2640a5af7cc5a94d02c91cd [diff] |
staging:iio:ad799x: Add helper macro for channel initialization The ad779x channels all follow the same pattern. Add a helper macro to initialize the channel spec, this allows us to drop quite a few lines. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Signed-off-by: Jonathan Cameron <jic23@kernel.org>