staging/sm750fb: Do not include <linux/screen_info.h>
authorThomas Zimmermann <tzimmermann@suse.de>
Thu, 6 Jul 2023 10:42:17 +0000 (12:42 +0200)
committerThomas Zimmermann <tzimmermann@suse.de>
Sat, 8 Jul 2023 18:26:40 +0000 (20:26 +0200)
The sm750fb driver does not need anything from <linux/screen_info.h>.
Remove the include statements.

Signed-off-by: Thomas Zimmermann <tzimmermann@suse.de>
Reviewed-by: Javier Martinez Canillas <javierm@redhat.com>
Cc: Sudip Mukherjee <sudipm.mukherjee@gmail.com>
Cc: Teddy Wang <teddy.wang@siliconmotion.com>
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20230706104852.27451-5-tzimmermann@suse.de
drivers/staging/sm750fb/sm750.c
drivers/staging/sm750fb/sm750_accel.c
drivers/staging/sm750fb/sm750_cursor.c
drivers/staging/sm750fb/sm750_hw.c

index 55e302a27847d95d286170559680a77bc86de62a..c260f73cf570ae7f84d926b18ab6890ab19fd91e 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/mm_types.h>
 #include <linux/vmalloc.h>
 #include <linux/pagemap.h>
-#include <linux/screen_info.h>
 #include <linux/console.h>
 
 #include "sm750.h"
index 24b9077a634a60f7e58f611bc419e3e80020c989..44b9e3fe3a41d7576581c6c291c71ffcca316b7c 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/pagemap.h>
 #include <linux/console.h>
 #include <linux/platform_device.h>
-#include <linux/screen_info.h>
 
 #include "sm750.h"
 #include "sm750_accel.h"
index 43e6f52c2551f4401369881a407e1120925f1753..eea4d1bd36ce7f7d62cc06292e4e0f5ad0b2b096 100644 (file)
@@ -14,7 +14,6 @@
 #include <linux/pagemap.h>
 #include <linux/console.h>
 #include <linux/platform_device.h>
-#include <linux/screen_info.h>
 
 #include "sm750.h"
 #include "sm750_cursor.h"
index 55cb00e8b0d1cb3a73403c8467f68a6a6684a738..71247eaf26eef50f1ce9041e607f1152351510a0 100644 (file)
@@ -17,7 +17,6 @@
 #include <asm/mtrr.h>
 #endif
 #include <linux/platform_device.h>
-#include <linux/screen_info.h>
 #include <linux/sizes.h>
 
 #include "sm750.h"