Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
extcon: adc-jack: Fix platform_get_irq's error checking
The platform_get_irq() function returns negative if an error occurs. zero or positive number on success. platform_get_irq() error checking for zero is not correct. Signed-off-by: Arvind Yadav <[email protected]> Signed-off-by: Chanwoo Choi <[email protected]>
- Loading branch information