2024-03-07 15:56:47

by Andy Shevchenko

[permalink] [raw]
Subject: [PATCH v1 1/1] mmc: core: Remove unused of_gpio.h

of_gpio.h is deprecated and subject to remove.
The driver doesn't use it, simply remove the unused header.

Signed-off-by: Andy Shevchenko <[email protected]>
---
drivers/mmc/core/host.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c
index 8f8781d6c25e..48bda70145ee 100644
--- a/drivers/mmc/core/host.c
+++ b/drivers/mmc/core/host.c
@@ -13,7 +13,6 @@
#include <linux/err.h>
#include <linux/idr.h>
#include <linux/of.h>
-#include <linux/of_gpio.h>
#include <linux/pagemap.h>
#include <linux/pm_wakeup.h>
#include <linux/export.h>
--
2.43.0.rc1.1.gbec44491f096



2024-03-25 15:51:07

by Ulf Hansson

[permalink] [raw]
Subject: Re: [PATCH v1 1/1] mmc: core: Remove unused of_gpio.h

On Thu, 7 Mar 2024 at 12:46, Andy Shevchenko
<[email protected]> wrote:
>
> of_gpio.h is deprecated and subject to remove.
> The driver doesn't use it, simply remove the unused header.
>
> Signed-off-by: Andy Shevchenko <[email protected]>

Applied for next, thanks!

Kind regards
Uffe


> ---
> drivers/mmc/core/host.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/mmc/core/host.c b/drivers/mmc/core/host.c
> index 8f8781d6c25e..48bda70145ee 100644
> --- a/drivers/mmc/core/host.c
> +++ b/drivers/mmc/core/host.c
> @@ -13,7 +13,6 @@
> #include <linux/err.h>
> #include <linux/idr.h>
> #include <linux/of.h>
> -#include <linux/of_gpio.h>
> #include <linux/pagemap.h>
> #include <linux/pm_wakeup.h>
> #include <linux/export.h>
> --
> 2.43.0.rc1.1.gbec44491f096
>