iio: accel: mma9553: fix gpio bitnum init value
authorIrina Tirdea <irina.tirdea@intel.com>
Mon, 13 Apr 2015 15:40:59 +0000 (18:40 +0300)
committerJonathan Cameron <jic23@kernel.org>
Sun, 26 Apr 2015 18:52:35 +0000 (19:52 +0100)
commitef8307a21ac79823b8a4f977eac42329328af384
tree1527eee73eec7a8c9a61705f8392d90d6a141a76
parent334efd076dc5bde5c579c0cf1c2b5d3dcd8839f7
iio: accel: mma9553: fix gpio bitnum init value

Initial value of gpio bitnum is set to -1, but
the variable is declared as unsigned.

Use a positive invalid value for initial gpio
bitnum.

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