diff options
author | Cristian Ciocaltea <cristian.ciocaltea@collabora.com> | 2023-06-11 15:03:16 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2023-06-15 13:42:17 +0200 |
commit | 912517345b867a69542dc9f5c2cc3e9d8beaccf5 (patch) | |
tree | 9ed8fbc2c772912d21d3d424a498f3d0dae4c534 /tools/perf/scripts/python/task-analyzer.py | |
parent | d325c9dd2b6e94040ca722ddcadcd6af358dd2be (diff) |
nvmem: rockchip-otp: Improve probe error handling
Enhance error handling in the probe function by making use of
dev_err_probe(), which ensures the error code is always printed, in
addition to the specified error message.
Signed-off-by: Cristian Ciocaltea <cristian.ciocaltea@collabora.com>
Tested-by: Vincent Legoll <vincent.legoll@gmail.com>
Reviewed-by: Heiko Stuebner <heiko@sntech.de>
Signed-off-by: Srinivas Kandagatla <srinivas.kandagatla@linaro.org>
Message-ID: <20230611140330.154222-13-srinivas.kandagatla@linaro.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python/task-analyzer.py')
0 files changed, 0 insertions, 0 deletions