]> git.proxmox.com Git - mirror_ubuntu-kernels.git/commit
fbdev/broadsheetfb: Call device_remove_file() with hardware device
authorThomas Zimmermann <tzimmermann@suse.de>
Tue, 13 Jun 2023 11:06:46 +0000 (13:06 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Tue, 27 Jun 2023 07:58:48 +0000 (09:58 +0200)
commit2b41f8329cc0349199a18e536c0c8df0d3bdd81d
tree684cbbb90745761ab58f0e9720970641ce8e7c37
parent8f7bcbe3dbccdcbdec7744295d8861a0a57b0082
fbdev/broadsheetfb: Call device_remove_file() with hardware device

Call device_remove_file() with the same device that has been used
for device_create_file(), which is the hardware device stored in
struct fb_info.device. 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-12-tzimmermann@suse.de
drivers/video/fbdev/broadsheetfb.c