diff options
author | Chen Jiahao <[email protected]> | 2023-08-17 16:33:36 +0800 |
---|---|---|
committer | Mathieu Poirier <[email protected]> | 2023-09-13 10:21:37 -0600 |
commit | 99f998733dac8b84b96981bf170d39ec721d5b97 (patch) | |
tree | 10f345b431cbb29bbae15c976c8b8040b831a93b /tools/perf/scripts/python/gecko.py | |
parent | 0bb80ecc33a8fb5a682236443c1e740d5c917d1d (diff) |
remoteproc: stm32: Clean up redundant dev_err_probe()
Referring to platform_get_irq()'s definition, the return value has
already been checked if ret < 0, and printed via dev_err_probe().
Calling dev_err_probe() one more time outside platform_get_irq()
is obviously redundant. Removing outside dev_err_probe() to
clean it up.
Besides, switch to use platform_get_irq_optional() since the irq
is optional here.
Signed-off-by: Chen Jiahao <[email protected]>
Acked-by: Arnaud Pouliquen <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Mathieu Poirier <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions