iio: accel: mma9553: use GENMASK
authorIrina Tirdea <irina.tirdea@intel.com>
Mon, 13 Apr 2015 15:40:57 +0000 (18:40 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 26 Apr 2015 18:49:27 +0000 (19:49 +0100)
commit43c30937c300bc30abb6368a71d4e17e37509a07
tree5b6668acc5e08be158d5cac394f7fea04bc6a912
parentc105ac6a039242e847d6b770ec2f4fa2c9f20a1b
iio: accel: mma9553: use GENMASK

Use GENMASK instead of BIT or direct value to
define a mask.

Signed-off-by: Irina Tirdea <irina.tirdea@intel.com>
Suggested-by: Hartmut Knaack <knaack.h@gmx.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/mma9553.c