aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorQuentin Schulz <[email protected]>2024-01-04 13:41:57 +0100
committerHeiko Stuebner <[email protected]>2024-01-04 17:07:33 +0100
commit65afd91e8d70e10c7f99126d61bf0045ef52d271 (patch)
treeb7161f328674b3ca6abd9b02c52fdcb588ceef0c /lib/memory-notifier-error-inject.c
parent52d11c863ac92e36a0365249f7f6d27ac48c78bc (diff)
drm/panel: ltk050h3146w: only print message when GPIO getting is not EPROBE_DEFER
devm_gpiod_get_optional may return EPROBE_DEFER in case the GPIO controller isn't yet probed when the panel driver is being probed. In that case, a spurious and confusing error message about not being able to get the reset GPIO is printed even though later on the device actually manages to get probed. Use dev_err_probe instead so that the message is only printed when it truly matters. Cc: Quentin Schulz <[email protected]> Signed-off-by: Quentin Schulz <[email protected]> Reviewed-by: Christophe JAILLET <[email protected]> Signed-off-by: Heiko Stuebner <[email protected]> Link: https://patchwork.freedesktop.org/patch/msgid/20240104-ltk-dev_err_probe-v1-1-8ef3c0b585d8@theobroma-systems.com
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions