2024-03-05 17:10:30

by Andy Shevchenko

[permalink] [raw]
Subject: [PATCH v1 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.

Signed-off-by: Andy Shevchenko <[email protected]>
---
drivers/gpu/drm/gma500/oaktrail_lvds.c | 2 --
1 file changed, 2 deletions(-)

diff --git a/drivers/gpu/drm/gma500/oaktrail_lvds.c b/drivers/gpu/drm/gma500/oaktrail_lvds.c
index d974d0c60d2a..72191d6f0d06 100644
--- a/drivers/gpu/drm/gma500/oaktrail_lvds.c
+++ b/drivers/gpu/drm/gma500/oaktrail_lvds.c
@@ -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



2024-03-11 09:17:46

by Patrik Jakobsson

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] drm/gma500: Remove unused intel-mid.h

On Tue, Mar 5, 2024 at 5:09 PM Andy Shevchenko
<[email protected]> wrote:
>
> 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

> Signed-off-by: Andy Shevchenko <[email protected]>
> ---
> drivers/gpu/drm/gma500/oaktrail_lvds.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/gpu/drm/gma500/oaktrail_lvds.c b/drivers/gpu/drm/gma500/oaktrail_lvds.c
> index d974d0c60d2a..72191d6f0d06 100644
> --- a/drivers/gpu/drm/gma500/oaktrail_lvds.c
> +++ b/drivers/gpu/drm/gma500/oaktrail_lvds.c
> @@ -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
>