[0/2] drm/panel: ltk050h3146w: error-path debug message improvements

Message ID 20240104-ltk-dev_err_probe-v1-0-8ef3c0b585d8@theobroma-systems.com
Headers
Series drm/panel: ltk050h3146w: error-path debug message improvements |

Message

Quentin Schulz Jan. 4, 2024, 12:41 p.m. UTC
  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@theobroma-systems.com>
---
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,
  

Comments

Heiko Stübner Jan. 4, 2024, 4:14 p.m. UTC | #1
On Thu, 4 Jan 2024 13:41:56 +0100, Quentin Schulz wrote:
> 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
> 
> [...]

Applied, thanks!

[1/2] drm/panel: ltk050h3146w: only print message when GPIO getting is not EPROBE_DEFER
      commit: 65afd91e8d70e10c7f99126d61bf0045ef52d271
[2/2] drm/panel: ltk050h3146w: use dev_err_probe wherever possible
      commit: 056a9965e58e47928e8afd4dc017221f9221b3d3

Best regards,