iio: adc: max9611: Fix misuse of GENMASK macro
authorJoe Perches <joe@perches.com>
Wed, 10 Jul 2019 05:04:17 +0000 (22:04 -0700)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 14 Jul 2019 11:53:28 +0000 (12:53 +0100)
commitae8cc91a7d85e018c0c267f580820b2bb558cd48
treebe9c67710443f8e68e7b487f843ac264d1845c50
parentd7d170a8e357bd9926cc6bfea5c2385c2eac65b2
iio: adc: max9611: Fix misuse of GENMASK macro

Arguments are supposed to be ordered high then low.

Signed-off-by: Joe Perches <joe@perches.com>
Fixes: 69780a3bbc0b ("iio: adc: Add Maxim max9611 ADC driver")
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/adc/max9611.c