summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/exported-sql-viewer.py
diff options
context:
space:
mode:
authorRuan Jinjie <ruanjinjie@huawei.com>2023-07-31 14:27:55 +0300
committerAndi Shyti <andi.shyti@kernel.org>2023-08-08 16:36:58 +0300
commit5140b46caf337bbad0803a24caa17e4158411d5c (patch)
treed3ca27326e84d7dfca8677747b9854b2ed00d1f4 /tools/perf/scripts/python/exported-sql-viewer.py
parent55f5cd6148b220c265483e5ace653f8686df3957 (diff)
downloadlinux-5140b46caf337bbad0803a24caa17e4158411d5c.tar.xz
i2c: stm32: 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> Reviewed-by: Andi Shyti <andi.shyti@kernel.org> Acked-by: Alain Volmat <alain.volmat@foss.st.com> Link: https://lore.kernel.org/r/20230731112755.1943630-1-ruanjinjie@huawei.com Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/exported-sql-viewer.py')
0 files changed, 0 insertions, 0 deletions