2024-03-07 11:45:11

by Andy Shevchenko

[permalink] [raw]
Subject: [PATCH v1 1/1] mmc: mtk-sd: 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/host/mtk-sd.c | 1 -
1 file changed, 1 deletion(-)

diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c
index 1634b1f5d201..a94835b8ab93 100644
--- a/drivers/mmc/host/mtk-sd.c
+++ b/drivers/mmc/host/mtk-sd.c
@@ -13,7 +13,6 @@
#include <linux/ioport.h>
#include <linux/irq.h>
#include <linux/of.h>
-#include <linux/of_gpio.h>
#include <linux/pinctrl/consumer.h>
#include <linux/platform_device.h>
#include <linux/pm.h>
--
2.43.0.rc1.1.gbec44491f096



2024-03-08 02:26:37

by Axe Yang (杨磊)

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

On Thu, 2024-03-07 at 13:43 +0200, Andy Shevchenko wrote:
>
> External email : Please do not click links or open attachments until
> you have verified the sender or the content.
> 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/host/mtk-sd.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c
> index 1634b1f5d201..a94835b8ab93 100644
> --- a/drivers/mmc/host/mtk-sd.c
> +++ b/drivers/mmc/host/mtk-sd.c
> @@ -13,7 +13,6 @@
> #include <linux/ioport.h>
> #include <linux/irq.h>
> #include <linux/of.h>
> -#include <linux/of_gpio.h>
> #include <linux/pinctrl/consumer.h>
> #include <linux/platform_device.h>
> #include <linux/pm.h>
> --
> 2.43.0.rc1.1.gbec44491f096

Reviewed-by: Axe Yang <[email protected]>

Subject: Re: [PATCH v1 1/1] mmc: mtk-sd: Remove unused of_gpio.h

Il 07/03/24 12:43, Andy Shevchenko ha scritto:
> 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]>

Reviewed-by: AngeloGioacchino Del Regno <[email protected]>



2024-03-25 15:51:33

by Ulf Hansson

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

On Thu, 7 Mar 2024 at 12:43, 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/host/mtk-sd.c | 1 -
> 1 file changed, 1 deletion(-)
>
> diff --git a/drivers/mmc/host/mtk-sd.c b/drivers/mmc/host/mtk-sd.c
> index 1634b1f5d201..a94835b8ab93 100644
> --- a/drivers/mmc/host/mtk-sd.c
> +++ b/drivers/mmc/host/mtk-sd.c
> @@ -13,7 +13,6 @@
> #include <linux/ioport.h>
> #include <linux/irq.h>
> #include <linux/of.h>
> -#include <linux/of_gpio.h>
> #include <linux/pinctrl/consumer.h>
> #include <linux/platform_device.h>
> #include <linux/pm.h>
> --
> 2.43.0.rc1.1.gbec44491f096
>