[PATCH] gpio: reduce verbosity while probing

Sascha Hauer s.hauer at pengutronix.de
Fri Sep 28 10:35:25 EDT 2012


On Fri, Sep 28, 2012 at 02:57:01PM +0200, Jan Luebbe wrote:
> Signed-off-by: Jan Luebbe <jlu at pengutronix.de>
> ---
>  arch/arm/mach-imx/gpio.c  |    2 +-
>  arch/arm/mach-omap/gpio.c |    2 +-
>  drivers/gpio/gpio-stmpe.c |    2 +-
>  3 files changed, 3 insertions(+), 3 deletions(-)

Applied, thanks

Sascha

> 
> diff --git a/arch/arm/mach-imx/gpio.c b/arch/arm/mach-imx/gpio.c
> index e661cc1..268e598 100644
> --- a/arch/arm/mach-imx/gpio.c
> +++ b/arch/arm/mach-imx/gpio.c
> @@ -145,7 +145,7 @@ static int imx_gpio_probe(struct device_d *dev)
>  	imxgpio->regs = regs;
>  	gpiochip_add(&imxgpio->chip);
>  
> -	dev_info(dev, "probed gpiochip%d with base %d\n", dev->id, imxgpio->chip.base);
> +	dev_dbg(dev, "probed gpiochip%d with base %d\n", dev->id, imxgpio->chip.base);
>  
>  	return 0;
>  }
> diff --git a/arch/arm/mach-omap/gpio.c b/arch/arm/mach-omap/gpio.c
> index 422831b..ff49708 100644
> --- a/arch/arm/mach-omap/gpio.c
> +++ b/arch/arm/mach-omap/gpio.c
> @@ -138,7 +138,7 @@ static int omap_gpio_probe(struct device_d *dev)
>  	omapgpio->chip.dev = dev;
>  	gpiochip_add(&omapgpio->chip);
>  
> -	dev_info(dev, "probed gpiochip%d with base %d\n",
> +	dev_dbg(dev, "probed gpiochip%d with base %d\n",
>  				dev->id, omapgpio->chip.base);
>  
>  	return 0;
> diff --git a/drivers/gpio/gpio-stmpe.c b/drivers/gpio/gpio-stmpe.c
> index fa3b041..1181351 100644
> --- a/drivers/gpio/gpio-stmpe.c
> +++ b/drivers/gpio/gpio-stmpe.c
> @@ -145,7 +145,7 @@ static int stmpe_gpio_probe(struct device_d *dev)
>  		return ret;
>  	}
>  
> -	dev_info(dev, "probed stmpe gpiochip%d with base %d\n", dev->id, stmpegpio->chip.base);
> +	dev_dbg(dev, "probed stmpe gpiochip%d with base %d\n", dev->id, stmpegpio->chip.base);
>  	return 0;
>  }
>  
> -- 
> 1.7.10.4
> 
> 
> _______________________________________________
> barebox mailing list
> barebox at 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 |



More information about the barebox mailing list