diff options
| author | Ruan Jinjie <ruanjinjie@huawei.com> | 2023-07-27 19:35:50 +0800 |
|---|---|---|
| committer | Sebastian Reichel <sebastian.reichel@collabora.com> | 2023-09-12 20:49:16 +0200 |
| commit | 389405146ca11d24f85b3277121a58f98a926a28 (patch) | |
| tree | cbf6bf00b05035fbc6a93242df3fc11a1b191f99 /tools/perf/scripts/python | |
| parent | power: supply: 88pm860x_battery: fix the return value handle for platform_get... (diff) | |
| download | linux-389405146ca11d24f85b3277121a58f98a926a28.tar.gz linux-389405146ca11d24f85b3277121a58f98a926a28.zip | |
power: supply: Remove redundant dev_err_probe() for platform_get_irq_byname()
There is no need to call the dev_err_probe() function directly to print
a custom message when handling an error from platform_get_irq_byname()
function as it is going to display an appropriate error message
in case of a failure.
Signed-off-by: Ruan Jinjie <ruanjinjie@huawei.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Dhruva Gole <d-gole@ti.com>
Link: https://lore.kernel.org/r/20230727113550.2599335-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
