]> www.infradead.org Git - users/jedix/linux-maple.git/commit
HID: picoLCD: Replace check_fb in favor of struct fb_info.lcd_dev
authorThomas Zimmermann <tzimmermann@suse.de>
Fri, 6 Sep 2024 07:52:39 +0000 (09:52 +0200)
committerLee Jones <lee@kernel.org>
Mon, 30 Sep 2024 15:49:42 +0000 (16:49 +0100)
commit05deb1ce96cda46a1ddc82f82a4645ef14cbe680
treea348dbf65f96489177d35d8926b18f8cf32a753c
parent16d6110e5257bb3718c53186765fa04bc8d53000
HID: picoLCD: 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 picolcd_lcdops obsolete.
Remove it.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Daniel Thompson <daniel.thompson@linaro.org>
Acked-by: Jiri Kosina <jkosina@suse.com>
Link: https://lore.kernel.org/r/20240906075439.98476-26-tzimmermann@suse.de
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/hid/hid-picolcd_fb.c
drivers/hid/hid-picolcd_lcd.c