]> www.infradead.org Git - users/jedix/linux-maple.git/commit
fbdev: imxfb: Replace check_fb in favor of struct fb_info.lcd_dev
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 6 Sep 2024 07:52:36 +0000 (09:52 +0200)
committerLee Jones <lee@kernel.org>
Mon, 30 Sep 2024 15:49:42 +0000 (16:49 +0100)
commit488d807101c208d057c429dd6f9ce00041eda094
tree50b5430de363b13c709dd212603a4a99a3ff3578
parentc11de820785fc2f1b58a764ac5529ab3670ce8c4
fbdev: imxfb: Replace check_fb in favor of struct fb_info.lcd_dev

Store the lcd device in struct fb_info.lcd_dev. The lcd subsystem can
now detect the lcd's fbdev device from this field.

This makes the implementation of check_fb in imxfb_lcd_ops obsolete.
Remove it.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Link: https://lore.kernel.org/r/20240906075439.98476-23-tzimmermann@suse.de
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/video/fbdev/imxfb.c