Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
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 <[email protected]> Reviewed-by: Vlad Dogaru <[email protected]> Acked-by: Uwe Kleine-König <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
- Loading branch information