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

Axe Yang (杨磊) Axe.Yang at mediatek.com
Thu Mar 7 18:26:15 PST 2024


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 <andriy.shevchenko at linux.intel.com>
> ---
>  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 <axe.yang at mediatek.com>


More information about the linux-arm-kernel mailing list