Searched hist:debf6d84 (Results 1 – 1 of 1) sorted by relevance
/openbmc/linux/drivers/iio/accel/ |
H A D | mma9551.c | debf6d84 Mon Mar 02 04:39:12 CST 2015 Roberta Dobrescu <roberta.dobrescu@gmail.com> iio: accel: mma9551: Check gpiod_to_irq return value
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> debf6d84 Mon Mar 02 04:39:12 CST 2015 Roberta Dobrescu <roberta.dobrescu@gmail.com> iio: accel: mma9551: Check gpiod_to_irq return value 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>
|