]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
staging/iio/mxs-lradc: cleanup masklength
authorMichał Mirosław <mirq-linux@rere.qmqm.pl>
Sat, 4 May 2013 13:19:00 +0000 (14:19 +0100)
committerJonathan Cameron <jic23@kernel.org>
Wed, 22 May 2013 21:16:48 +0000 (22:16 +0100)
commitf4914e5ef087961b3bf17cdf166e947f69cc9089
treecfddb8ceab152346e337e912c10defe8f76e335c
parentbec1889d24924f400249f5be8ee194728df5a191
staging/iio/mxs-lradc: cleanup masklength

We know the exact iio->masklength = LRADC_MAX_TOTAL_CHANS.
Let's use it consistently.

Signed-off-by: Michał Mirosław <mirq-linux@rere.qmqm.pl>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/adc/mxs-lradc.c