aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRuan Jinjie <ruanjinjie@huawei.com>2023-07-31 19:39:59 +0800
committerSebastian Reichel <sebastian.reichel@collabora.com>2023-09-12 20:44:52 +0200
commit6eca10a1c2e5c5edaf92d5a9d1bcf415456369b7 (patch)
treea8a461a06be49cb42c35869932ffb619d9d613c4 /tools/perf/scripts/python
parentpower: reset: syscon-poweroff: use builtin_platform_driver() to simplify code (diff)
downloadlinux-6eca10a1c2e5c5edaf92d5a9d1bcf415456369b7.tar.gz
linux-6eca10a1c2e5c5edaf92d5a9d1bcf415456369b7.zip
power: supply: 88pm860x_battery: fix the return value handle 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. Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com> Link: https://lore.kernel.org/r/20230731113959.1957820-1-ruanjinjie@huawei.com Signed-off-by: Sebastian Reichel <sebastian.reichel@collabora.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions