aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/acpi/cppc_acpi.c
diff options
context:
space:
mode:
authorArvind Yadav <[email protected]>2017-11-29 16:17:11 +0000
committerMark Brown <[email protected]>2017-12-01 13:05:45 +0000
commitd6e2c4ffdf67de68e0263630525d2b521132d66a (patch)
tree8585b049e7db840875cf8870bef3aa8167647bb2 /drivers/acpi/cppc_acpi.c
parentLinux 4.15-rc1 (diff)
downloadkernel-d6e2c4ffdf67de68e0263630525d2b521132d66a.tar.gz
kernel-d6e2c4ffdf67de68e0263630525d2b521132d66a.zip
ASoC: mt8173: 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: Mark Brown <[email protected]>
Diffstat (limited to 'drivers/acpi/cppc_acpi.c')
0 files changed, 0 insertions, 0 deletions