fbdev: ssd1307fb: Print the PWM's label instead of its number
authorUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Fri, 28 Jul 2023 14:58:23 +0000 (16:58 +0200)
committerHelge Deller <deller@gmx.de>
Mon, 31 Jul 2023 12:54:08 +0000 (14:54 +0200)
commitbc2e67ac3eb57a8d4f4d0022616e550aada50e7b
tree48f24d5b08efe82ba1c391a188badcf5c09f694b
parent0872b2c0abc0e84ac82472959c8e14e35277549c
fbdev: ssd1307fb: 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: Helge Deller <deller@gmx.de>
drivers/video/fbdev/ssd1307fb.c