diff options
author | Dario Binacchi <[email protected]> | 2024-10-25 18:03:56 +0200 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2024-10-31 11:41:20 +0100 |
commit | da3d242cf169a6e8a4be6eea7411c65083e6ce75 (patch) | |
tree | 45bae8a35c0e38eca8c794f746682fd972151233 /tools/testing/selftests/bpf/prog_tests/prog_array_init.c | |
parent | 88e98cd5d3b98df245e439345b139745e1174f57 (diff) |
pmdomain: imx: gpcv2: replace dev_err() with dev_err_probe()
The patch standardizes the probe() code by replacing the two occurrences
of dev_err() with dev_err_probe(). Indeed, dev_err_probe() was used in all
other error paths of the probe() function.
Note that dev_err_probe() has advantages even if the error code is not
EPROBE_DEFER, such as the symbolic output of the error code. Therefore,
it should generally be preferred over dev_err().
Co-developed-by: Michael Trimarchi <[email protected]>
Signed-off-by: Michael Trimarchi <[email protected]>
Signed-off-by: Dario Binacchi <[email protected]>
Reviewed-by: Marco Felsch <[email protected]>
Message-ID: <[email protected]>
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/prog_tests/prog_array_init.c')
0 files changed, 0 insertions, 0 deletions