Skip to contentSkip to conversation

drm/gma500: Remove unused intel-mid.h

PATCH Applied Andy Shevchenko 2 participants 2 messages Mar 5, 2024 – Mar 11, 2024

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 drm/gma500: Remove unused intel-mid.h

intel-mid.h is providing some core parts of the South Complex PM, which are usually are not used by individual drivers. In particular, this driver doesn't use it, so simply remove the unused header.

---
 drivers/gpu/drm/gma500/oaktrail_lvds.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/gma500/oaktrail_lvds.c +0 -2
index d974d0c60d2a..72191d6f0d06 100644
@@ -11,8 +11,6 @@
 #include <linux/i2c.h>
 #include <linux/pm_runtime.h>
 
-#include <asm/intel-mid.h>
-
 #include <drm/drm_edid.h>
 #include <drm/drm_modeset_helper_vtables.h>
 #include <drm/drm_simple_kms_helper.h>
Signature · 1 line
2.43.0.rc1.1.gbec44491f096
maintainer Applied
#1 lore raw
Quoted 5 lines · Andy Shevchenko

intel-mid.h is providing some core parts of the South Complex PM, which are usually are not used by individual drivers. In particular, this driver doesn't use it, so simply remove the unused header.

Applied to drm-misc-next

Thanks
Patrik

Quoted 21 lines
---
 drivers/gpu/drm/gma500/oaktrail_lvds.c | 2 --
 1 file changed, 2 deletions(-)
drivers/gpu/drm/gma500/oaktrail_lvds.c +0 -3
index d974d0c60d2a..72191d6f0d06 100644
@@ -11,8 +11,6 @@
 #include <linux/i2c.h>
 #include <linux/pm_runtime.h>
 
-#include <asm/intel-mid.h>
-
 #include <drm/drm_edid.h>
 #include <drm/drm_modeset_helper_vtables.h>
 #include <drm/drm_simple_kms_helper.h>
--

2.43.0.rc1.1.gbec44491f096