aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python/sctop.py
diff options
context:
space:
mode:
authorZhu Wang <[email protected]>2023-08-03 07:10:06 +0000
committerHelge Deller <[email protected]>2023-08-15 21:39:33 +0000
commit0650d5098f8b6b232cd5ea0e15437fc38f7d63ba (patch)
tree11cd88343f6858490220868bf6549756d79182f3 /tools/perf/scripts/python/sctop.py
parentfbdev: atmel_lcdfb: Remove redundant of_match_ptr() (diff)
downloadkernel-0650d5098f8b6b232cd5ea0e15437fc38f7d63ba.tar.gz
kernel-0650d5098f8b6b232cd5ea0e15437fc38f7d63ba.zip
fbdev: goldfishfb: Do not check 0 for platform_get_irq()
Since platform_get_irq() never returned zero, so it need not to check whether it returned zero, and we use the return error code of platform_get_irq() to replace the current return error code. Please refer to the commit a85a6c86c25b ("driver core: platform: Clarify that IRQ 0 is invalid") to get that platform_get_irq() never returned zero. Signed-off-by: Zhu Wang <[email protected]> Signed-off-by: Helge Deller <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/sctop.py')
0 files changed, 0 insertions, 0 deletions