diff options
author | Martin Blumenstingl <[email protected]> | 2024-02-18 18:50:35 +0100 |
---|---|---|
committer | Neil Armstrong <[email protected]> | 2024-02-19 09:48:41 +0100 |
commit | 1a9e51bef89af0f0976cf4c83a1e682895695dcf (patch) | |
tree | 56d9c077c0e6da768754ea9b3865897b70962052 /tools/testing/selftests/bpf/progs/test_autoload.c | |
parent | 239cce651ea617002ff26f068f2568b2baf6421a (diff) |
drm/meson: improve encoder probe / initialization error handling
Rename meson_encoder_{cvbs,dsi,hdmi}_init() to
meson_encoder_{cvbs,dsi,hdmi}_probe() so it's clear that these functions
are used at probe time during driver initialization. Also switch all
error prints inside those functions to use dev_err_probe() for
consistency.
This makes the code more straight forward to read and makes the error
prints within those functions consistent (by logging all -EPROBE_DEFER
with dev_dbg(), while actual errors are logged with dev_err() and get
the error value printed).
Signed-off-by: Martin Blumenstingl <[email protected]>
Reviewed-by: Neil Armstrong <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Neil Armstrong <[email protected]>
Link: https://patchwork.freedesktop.org/patch/msgid/[email protected]
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions