drm/ssd130x: Print the PWM's label instead of its number
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 28 Jul 2023 14:58:22 +0000 (16:58 +0200)
committerJavier Martinez Canillas <javierm@redhat.com>
Sat, 9 Sep 2023 14:14:15 +0000 (16:14 +0200)
commit84f54d4966f48ef88c8db3f524a59f5bc661bc33
treed762ef255bb24da40e5c458873bfb5f7bedc9e15
parent775b0669e19f2e4ad979e38330b7d23c2405cadd
drm/ssd130x: Print the PWM's label instead of its number

struct pwm_device::pwm is a write-only variable in the pwm core and used
nowhere apart from this and another dev_dbg. So it isn't useful to
identify the used PWM. Emit the PWM's label instead in the debug
message.

Signed-off-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Signed-off-by: Javier Martinez Canillas <javierm@redhat.com>
Link: https://patchwork.freedesktop.org/patch/msgid/20230728145824.616687-2-u.kleine-koenig@pengutronix.de
drivers/gpu/drm/solomon/ssd130x.c