diff options
| author | 2017-11-24 22:31:40 +0530 | |
|---|---|---|
| committer | 2017-12-01 16:22:10 +0100 | |
| commit | aac799040731ee338b84d27c27fa2d903e89c857 (patch) | |
| tree | 271cca9b24f66ea771e8ffe7383289921a8da4ea /include/linux/mfd/git:/ssh: | |
| parent | power: supply: ab8500_charger: Bail out in case of error in 'ab8500_charger_init_hw_registers()' (diff) | |
power: supply: cpcap-battery: Fix platform_get_irq_byname's error checking
The platform_get_irq_byname() function returns -1 if an error occurs.
zero or positive number on success. platform_get_irq_byname() error
checking for zero is not correct.
Signed-off-by: Arvind Yadav <arvind.yadav.cs@gmail.com>
Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.co.uk>
Diffstat (limited to 'include/linux/mfd/git:/ssh:')
0 files changed, 0 insertions, 0 deletions
