aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorRuan Jinjie <[email protected]>2023-08-01 21:31:21 +0800
committerJakub Kicinski <[email protected]>2023-08-02 12:10:39 -0700
commit497c3a5fb3ed4a59c4d3c460c70393dd609815dc (patch)
treecf8f30266a98f09a53dc1aa185b2221ac2ac350a /tools/perf/scripts/python/bin/stackcollapse-report
parentae3683a34265381cd4bc006295a091009c7215d1 (diff)
cirrus: cs89x0: fix the return value handle and remove redundant dev_warn() for platform_get_irq()
There is no possible for platform_get_irq() to return 0 and the return value of platform_get_irq() is more sensible to show the error reason. And there is no need to call the dev_warn() function directly to print a custom message when handling an error from platform_get_irq() function as it is going to display an appropriate error message in case of a failure. Signed-off-by: Ruan Jinjie <[email protected]> Reviewed-by: Simon Horman <[email protected]> Reviewed-by: Alex Elder <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Jakub Kicinski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions