diff options
| author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-07-31 19:39:59 +0800 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-09-12 20:44:52 +0200 |
| commit | 6eca10a1c2e5c5edaf92d5a9d1bcf415456369b7 (patch) | |
| tree | a8a461a06be49cb42c35869932ffb619d9d613c4 /tools/perf/scripts/python | |
| parent | power: reset: syscon-poweroff: use builtin_platform_driver() to simplify code (diff) | |
| download | linux-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
