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:
4a428bf
)
iio: accel: mma9551: Check gpiod_to_irq return value
author
Roberta Dobrescu
<roberta.dobrescu@gmail.com>
Mon, 2 Mar 2015 10:39:12 +0000
(12:39 +0200)
committer
Jonathan Cameron
<jic23@kernel.org>
Mon, 9 Mar 2015 13:27:49 +0000
(13:27 +0000)
The return value of gpiod_to_irq should be checked before giving
it to devm_request_threaded_irq in order to not pass an error
code in case it fails.
Signed-off-by: Roberta Dobrescu <roberta.dobrescu@gmail.com>
Reviewed-by: Vlad Dogaru <vlad.dogaru@intel.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
No differences found