diff options
author | 2023-08-21 16:46:22 +0800 | |
---|---|---|
committer | 2023-09-11 17:49:56 +0200 | |
commit | c29cc4a95fa84c2c1dc8b1b990365a86a5458070 (patch) | |
tree | 2e03391bacb863d0261bd762c85f6e8f96eff247 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: rawnand: tegra: add missing check for platform_get_irq() (diff) | |
download | wireguard-linux-c29cc4a95fa84c2c1dc8b1b990365a86a5458070.tar.xz wireguard-linux-c29cc4a95fa84c2c1dc8b1b990365a86a5458070.zip |
mtd: rawnand: omap2: Fix check 0 for platform_get_irq()
Refer to commit a85a6c86c25b ("driver core: platform: Clarify that IRQ
0 is invalid"). Do not check 0 for platform_get_irq(), because
platform_get_irq() never return zero, and use the return error code of
platform_get_irq() instead of -ENODEV.
Signed-off-by: Yi Yang <yiyang13@huawei.com>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/linux-mtd/20230821084622.218442-1-yiyang13@huawei.com
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions