fbdev/tdfxfb: Set i2c adapter parent to hardware device
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 13 Jun 2023 11:07:06 +0000 (13:07 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 27 Jun 2023 07:58:50 +0000 (09:58 +0200)
commit8adcfd2187caa084598225bfdd04cd08c6948d9b
tree0e7e4ae56b07fd8d39169db90b37dabc765e0e9c
parentf5c6291f12090c4a0cdf0832da513c5a3e41d186
fbdev/tdfxfb: Set i2c adapter parent to hardware device

Use the 3dfx hardware device from the Linux device hierarchy as
parent device of the i2c adapter. Aligns the driver with the rest
of the codebase and prepares fbdev for making struct fb_info.dev
optional.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Reviewed-by: Sam Ravnborg <sam@ravnborg.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230613110953.24176-32-tzimmermann@suse.de
drivers/video/fbdev/tdfxfb.c