diff options
author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-08-03 16:07:12 +0800 |
---|---|---|
committer | Alexandre Belloni <alexandre.belloni@bootlin.com> | 2023-08-17 01:17:34 +0200 |
commit | 4d349a5793f7a42da27ea56d9f6e2f9488d44e0d (patch) | |
tree | 53badb3f0fcd7371b66724447d52619581c0761a /scripts/gdb/linux/modules.py | |
parent | 0197a7cb44872e49919b0068a512aaf4e06f1850 (diff) |
rtc: omap: 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>
Link: https://lore.kernel.org/r/20230803080713.4061782-2-ruanjinjie@huawei.com
Signed-off-by: Alexandre Belloni <alexandre.belloni@bootlin.com>
Diffstat (limited to 'scripts/gdb/linux/modules.py')
0 files changed, 0 insertions, 0 deletions