drm/sitronix/st7571-i2c: Log probe deferral cause for GPIO get failure
authorJavier Martinez Canillas <javierm@redhat.com>
Tue, 15 Jul 2025 11:03:51 +0000 (13:03 +0200)
committerJavier Martinez Canillas <javierm@redhat.com>
Wed, 16 Jul 2025 10:12:38 +0000 (12:12 +0200)
commit720799d9462ccade1deb8d05d8b63e2cfd7f4e41
treec3ed0403233c3d41a905ee264c155bb0c8150717
parent1d043d6c00b010c186ad0ddab0a0b9bd648e9bf1
drm/sitronix/st7571-i2c: Log probe deferral cause for GPIO get failure

The driver already uses the dev_err_probe() helper (that only prints error
messages for the -EPROBE_DEFER case) when fails to get any other resource.

Also do the same when it fails to obtain the reset GPIO.

Reviewed-by: Marcus Folkesson <marcus.folkesson@gmail.com>
Link: https://lore.kernel.org/r/20250715110411.448343-3-javierm@redhat.com
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
drivers/gpu/drm/sitronix/st7571-i2c.c