mail archive of the barebox mailing list
 help / color / mirror / Atom feed
* [PATCH 1/2] ARM: Remove excess "select GENERIC_GPIO"
@ 2014-04-27  6:17 Alexander Shiyan
  2014-04-27  6:17 ` [PATCH 2/2] SPI: i.MX: Remove redundant assignment Alexander Shiyan
  2014-04-27  6:44 ` [PATCH 1/2] ARM: Remove excess "select GENERIC_GPIO" Sascha Hauer
  0 siblings, 2 replies; 3+ messages in thread
From: Alexander Shiyan @ 2014-04-27  6:17 UTC (permalink / raw)
  To: barebox

GENERIC_GPIO is selected automatically by GPIOLIB

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 arch/arm/Kconfig | 2 --
 1 file changed, 2 deletions(-)

diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
index 3754646..11b9a85 100644
--- a/arch/arm/Kconfig
+++ b/arch/arm/Kconfig
@@ -79,7 +79,6 @@ config ARCH_HIGHBANK
 
 config ARCH_IMX
 	bool "Freescale iMX-based"
-	select GENERIC_GPIO
 	select GPIOLIB
 	select COMMON_CLK
 	select CLKDEV_LOOKUP
@@ -132,7 +131,6 @@ config ARCH_SOCFPGA
 	select CPU_V7
 	select COMMON_CLK
 	select CLKDEV_LOOKUP
-	select GENERIC_GPIO
 	select GPIOLIB
 	select HAVE_PBL_MULTI_IMAGES
 
-- 
1.8.3.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* [PATCH 2/2] SPI: i.MX: Remove redundant assignment
  2014-04-27  6:17 [PATCH 1/2] ARM: Remove excess "select GENERIC_GPIO" Alexander Shiyan
@ 2014-04-27  6:17 ` Alexander Shiyan
  2014-04-27  6:44 ` [PATCH 1/2] ARM: Remove excess "select GENERIC_GPIO" Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Alexander Shiyan @ 2014-04-27  6:17 UTC (permalink / raw)
  To: barebox

Signed-off-by: Alexander Shiyan <shc_work@mail.ru>
---
 drivers/spi/imx_spi.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/spi/imx_spi.c b/drivers/spi/imx_spi.c
index 45461bd..7a347f9 100644
--- a/drivers/spi/imx_spi.c
+++ b/drivers/spi/imx_spi.c
@@ -430,7 +430,7 @@ static void imx_spi_do_transfer(struct spi_device *spi, struct spi_transfer *t)
 static int imx_spi_transfer(struct spi_device *spi, struct spi_message *mesg)
 {
 	struct imx_spi *imx = container_of(spi->master, struct imx_spi, master);
-	struct spi_transfer *t = NULL;
+	struct spi_transfer *t;
 
 	imx->chipselect(spi, 1);
 
-- 
1.8.3.2


_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH 1/2] ARM: Remove excess "select GENERIC_GPIO"
  2014-04-27  6:17 [PATCH 1/2] ARM: Remove excess "select GENERIC_GPIO" Alexander Shiyan
  2014-04-27  6:17 ` [PATCH 2/2] SPI: i.MX: Remove redundant assignment Alexander Shiyan
@ 2014-04-27  6:44 ` Sascha Hauer
  1 sibling, 0 replies; 3+ messages in thread
From: Sascha Hauer @ 2014-04-27  6:44 UTC (permalink / raw)
  To: Alexander Shiyan; +Cc: barebox

On Sun, Apr 27, 2014 at 10:17:06AM +0400, Alexander Shiyan wrote:
> GENERIC_GPIO is selected automatically by GPIOLIB
> 
> Signed-off-by: Alexander Shiyan <shc_work@mail.ru>

Applied, thanks

Sascha

> ---
>  arch/arm/Kconfig | 2 --
>  1 file changed, 2 deletions(-)
> 
> diff --git a/arch/arm/Kconfig b/arch/arm/Kconfig
> index 3754646..11b9a85 100644
> --- a/arch/arm/Kconfig
> +++ b/arch/arm/Kconfig
> @@ -79,7 +79,6 @@ config ARCH_HIGHBANK
>  
>  config ARCH_IMX
>  	bool "Freescale iMX-based"
> -	select GENERIC_GPIO
>  	select GPIOLIB
>  	select COMMON_CLK
>  	select CLKDEV_LOOKUP
> @@ -132,7 +131,6 @@ config ARCH_SOCFPGA
>  	select CPU_V7
>  	select COMMON_CLK
>  	select CLKDEV_LOOKUP
> -	select GENERIC_GPIO
>  	select GPIOLIB
>  	select HAVE_PBL_MULTI_IMAGES
>  
> -- 
> 1.8.3.2
> 
> 
> _______________________________________________
> barebox mailing list
> barebox@lists.infradead.org
> http://lists.infradead.org/mailman/listinfo/barebox
> 

-- 
Pengutronix e.K.                           |                             |
Industrial Linux Solutions                 | http://www.pengutronix.de/  |
Peiner Str. 6-8, 31137 Hildesheim, Germany | Phone: +49-5121-206917-0    |
Amtsgericht Hildesheim, HRA 2686           | Fax:   +49-5121-206917-5555 |

_______________________________________________
barebox mailing list
barebox@lists.infradead.org
http://lists.infradead.org/mailman/listinfo/barebox

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2014-04-27  6:44 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-04-27  6:17 [PATCH 1/2] ARM: Remove excess "select GENERIC_GPIO" Alexander Shiyan
2014-04-27  6:17 ` [PATCH 2/2] SPI: i.MX: Remove redundant assignment Alexander Shiyan
2014-04-27  6:44 ` [PATCH 1/2] ARM: Remove excess "select GENERIC_GPIO" Sascha Hauer

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox