fbdev/sh7760fb: Use hardware device with dev_() output during probe
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 13 Jun 2023 11:07:03 +0000 (13:07 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 27 Jun 2023 07:58:50 +0000 (09:58 +0200)
commitac8c8135763e94dfcfb34dbd0ad98ef4a135289f
treee51e64c393eed4d1d876f53f80711ad6ccac45b4
parent8404e56f4bc1d1a65bfc98450ba3dae5e653dda1
fbdev/sh7760fb: Use hardware device with dev_() output during probe

Call output helpers in the probe function with the hardware device.
The virtual fbdev device has not been initialized at that point. Also
prepares fbdev for making struct fb_info.dev optional.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230613110953.24176-29-tzimmermann@suse.de
drivers/video/fbdev/sh7760fb.c