This hides an error message if EPROBE_DEFER was returned when trying to get the reset GPIO. This also makes use of dev_err_probe in lieu of hand-crafted logic inside the driver. Thanks, Quentin Signed-off-by: Quentin Schulz <quentin.schulz@xxxxxxxxxxxxxxxxxxxxx> --- Quentin Schulz (2): drm/panel: ltk050h3146w: only print message when GPIO getting is not EPROBE_DEFER drm/panel: ltk050h3146w: use dev_err_probe wherever possible drivers/gpu/drm/panel/panel-leadtek-ltk050h3146w.c | 23 +++++++--------------- 1 file changed, 7 insertions(+), 16 deletions(-) --- base-commit: ac865f00af293d081356bec56eea90815094a60e change-id: 20240104-ltk-dev_err_probe-3c93c1b09242 Best regards, -- Quentin Schulz <quentin.schulz@xxxxxxxxxxxxxxxxxxxxx>