iio: mma9551: fix sparse warning
authorVlad Dogaru <vlad.dogaru@intel.com>
Mon, 15 Dec 2014 15:16:51 +0000 (17:16 +0200)
committerJonathan Cameron <jic23@kernel.org>
Fri, 26 Dec 2014 12:13:36 +0000 (12:13 +0000)
commit60347e71c0d1f001aab75cb2569729980e2d737a
treed9294dedc866c647068941f69742538fc9b009a8
parent20dd20f68f9b41534ba9ebddc4f179d0efbc3c8e
iio: mma9551: fix sparse warning

sparse warnings: (new ones prefixed by >>)

>> drivers/iio/accel/mma9551.c:554:57: sparse: mixing different enum types
   drivers/iio/accel/mma9551.c:554:57:     int enum mma9551_tilt_axis  versus
   drivers/iio/accel/mma9551.c:554:57:     int enum mma9551_gpio_pin
>> drivers/iio/accel/mma9551.c:576:57: sparse: mixing different enum types
   drivers/iio/accel/mma9551.c:576:57:     int enum mma9551_tilt_axis  versus
   drivers/iio/accel/mma9551.c:576:57:     int enum mma9551_gpio_pin

Signed-off-by: Vlad Dogaru <vlad.dogaru@intel.com>
Reported-by: kbuild test robot <fengguang.wu@intel.com>
Reviewed-by: Irina Tirdea <irina.tirdea@intel.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/iio/accel/mma9551.c