diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-03 11:34:52 +0300 |
---|---|---|
committer | Marc Zyngier <maz@kernel.org> | 2023-08-21 19:42:00 +0300 |
commit | d0afed833970808f141ed52fcc591998087f3a26 (patch) | |
tree | 1db5438c72beb3a7325ec10a1eda727ddfc52128 /drivers/thermal | |
parent | 2f54db449b6185024ef884fd3083802e1eae6921 (diff) | |
download | linux-d0afed833970808f141ed52fcc591998087f3a26.tar.xz |
irqchip/irq-pruss-intc: Do not check for 0 return after calling platform_get_irq()
It is not possible for platform_get_irq() to return 0. Use the
return value from platform_get_irq().
Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Signed-off-by: Marc Zyngier <maz@kernel.org>
Link: https://lore.kernel.org/r/20230803083452.4085650-3-ruanjinjie@huawei.com
Diffstat (limited to 'drivers/thermal')
0 files changed, 0 insertions, 0 deletions