[PATCH 1/2] mtd: atmel-quadspi: Remove unneeded pinctrl header

Cyrille Pitchen cyrille.pitchen at wedev4u.fr
Tue Aug 1 12:28:48 PDT 2017


Le 18/07/2017 à 02:41, Fabio Estevam a écrit :
> From: Fabio Estevam <fabio.estevam at nxp.com>
> 
> There is no need to include <linux/pinctrl/consumer.h> as no pinctrl
> function is used in this driver, so just remove it.
> 
> Signed-off-by: Fabio Estevam <fabio.estevam at nxp.com>

series applied to the spi-nor/next branch of l2-mtd

Thanks!

> ---
>  drivers/mtd/spi-nor/atmel-quadspi.c | 1 -
>  1 file changed, 1 deletion(-)
> 
> diff --git a/drivers/mtd/spi-nor/atmel-quadspi.c b/drivers/mtd/spi-nor/atmel-quadspi.c
> index ba76fa8..6c5708b 100644
> --- a/drivers/mtd/spi-nor/atmel-quadspi.c
> +++ b/drivers/mtd/spi-nor/atmel-quadspi.c
> @@ -35,7 +35,6 @@
>  
>  #include <linux/io.h>
>  #include <linux/gpio.h>
> -#include <linux/pinctrl/consumer.h>
>  
>  /* QSPI register offsets */
>  #define QSPI_CR      0x0000  /* Control Register */
> 




More information about the linux-mtd mailing list