diff options
author | Lin Ruifeng <linruifeng4@huawei.com> | 2024-09-07 16:13:51 +0800 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-09-11 15:25:09 +0200 |
commit | 7b24a3bce42b9a0cbafd1bd12de349b82c649b79 (patch) | |
tree | 5dd98ca651d8caf350241201abdc0af50b509f54 /tools/perf/scripts/python/gecko.py | |
parent | b8a93e8028feef925ea5a2c212fafbe14a76f46e (diff) |
usb: musb: mediatek: Simplify code with dev_err_probe()
The combination of dev_err() and the returned error code could be
replaced by dev_err_probe() in driver's probe function. Let's,
converting to dev_err_probe() to make code more simple.
Signed-off-by: Lin Ruifeng <linruifeng4@huawei.com>
Reviewed-by: AngeloGioacchino Del Regno <angelogioacchino.delregno@collabora.com>
Reviewed-by: Matthias Brugger <matthias.bgg@gmail.com>
Link: https://lore.kernel.org/r/20240907081351.19879-1-linruifeng4@huawei.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/gecko.py')
0 files changed, 0 insertions, 0 deletions