git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
334efd0
)
iio: accel: mma9553: fix gpio bitnum init value
author
Irina Tirdea
<irina.tirdea@intel.com>
Mon, 13 Apr 2015 15:40:59 +0000
(18:40 +0300)
committer
Jonathan Cameron
<jic23@kernel.org>
Sun, 26 Apr 2015 18:52:35 +0000
(19:52 +0100)
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>
No differences found