Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

drm/panel: Do not include <linux/fb.h>

Remove unnecessary include statements for <linux/fb.h>. No functional
changes. Include <linux/of.h> where the driver got the header file via
<linux/fb.h>.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Acked-by: Maxime Ripard <maxime@cerno.tech>
Link: https://patchwork.freedesktop.org/patch/msgid/20230111130206.29974-6-tzimmermann@suse.de

-3
-1
drivers/gpu/drm/panel/panel-ilitek-ili9881c.c
··· 7 7 #include <linux/device.h> 8 8 #include <linux/err.h> 9 9 #include <linux/errno.h> 10 - #include <linux/fb.h> 11 10 #include <linux/kernel.h> 12 11 #include <linux/module.h> 13 12 #include <linux/of_device.h>
-1
drivers/gpu/drm/panel/panel-raspberrypi-touchscreen.c
··· 43 43 44 44 #include <linux/delay.h> 45 45 #include <linux/err.h> 46 - #include <linux/fb.h> 47 46 #include <linux/i2c.h> 48 47 #include <linux/media-bus-format.h> 49 48 #include <linux/module.h>
-1
drivers/gpu/drm/panel/panel-ronbo-rb070d30.c
··· 11 11 #include <linux/device.h> 12 12 #include <linux/err.h> 13 13 #include <linux/errno.h> 14 - #include <linux/fb.h> 15 14 #include <linux/kernel.h> 16 15 #include <linux/media-bus-format.h> 17 16 #include <linux/module.h>