diff options
| author | Ruan Jinjie <[email protected]> | 2023-07-31 19:27:55 +0800 |
|---|---|---|
| committer | Andi Shyti <[email protected]> | 2023-08-08 15:36:58 +0200 |
| commit | 5140b46caf337bbad0803a24caa17e4158411d5c (patch) | |
| tree | d3ca27326e84d7dfca8677747b9854b2ed00d1f4 /tools/perf/scripts/python/task-analyzer.py | |
| parent | 55f5cd6148b220c265483e5ace653f8686df3957 (diff) | |
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 <[email protected]>
Reviewed-by: Andi Shyti <[email protected]>
Acked-by: Alain Volmat <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Andi Shyti <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions