* [PATCH] gpio: tps65910: add missing breaks in tps65910_gpio_init
@ 2011-07-06 2:08 Axel Lin
2011-07-06 5:17 ` Grant Likely
0 siblings, 1 reply; 2+ messages in thread
From: Axel Lin @ 2011-07-06 2:08 UTC (permalink / raw)
To: linux-kernel
Cc: "Jorge Eduardo Candelaria jedu", Graeme Gregory,
Grant Likely
Signed-off-by: Axel Lin <axel.lin@gmail.com>
---
drivers/gpio/gpio-tps65910.c | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
diff --git a/drivers/gpio/gpio-tps65910.c b/drivers/gpio/gpio-tps65910.c
index 4171033..b9c1c29 100644
--- a/drivers/gpio/gpio-tps65910.c
+++ b/drivers/gpio/gpio-tps65910.c
@@ -81,8 +81,10 @@ void tps65910_gpio_init(struct tps65910 *tps65910, int gpio_base)
switch(tps65910_chip_id(tps65910)) {
case TPS65910:
tps65910->gpio.ngpio = 6;
+ break;
case TPS65911:
tps65910->gpio.ngpio = 9;
+ break;
default:
return;
}
--
1.7.4.1
^ permalink raw reply related [flat|nested] 2+ messages in thread* Re: [PATCH] gpio: tps65910: add missing breaks in tps65910_gpio_init
2011-07-06 2:08 [PATCH] gpio: tps65910: add missing breaks in tps65910_gpio_init Axel Lin
@ 2011-07-06 5:17 ` Grant Likely
0 siblings, 0 replies; 2+ messages in thread
From: Grant Likely @ 2011-07-06 5:17 UTC (permalink / raw)
To: Axel Lin; +Cc: linux-kernel, JorgeEduardoCandelariajedu, Graeme Gregory
On Wed, Jul 06, 2011 at 10:08:27AM +0800, Axel Lin wrote:
> Signed-off-by: Axel Lin <axel.lin@gmail.com>
> ---
> drivers/gpio/gpio-tps65910.c | 2 ++
> 1 files changed, 2 insertions(+), 0 deletions(-)
Merged for v3.0, thanks.
g.
>
> diff --git a/drivers/gpio/gpio-tps65910.c b/drivers/gpio/gpio-tps65910.c
> index 4171033..b9c1c29 100644
> --- a/drivers/gpio/gpio-tps65910.c
> +++ b/drivers/gpio/gpio-tps65910.c
> @@ -81,8 +81,10 @@ void tps65910_gpio_init(struct tps65910 *tps65910, int gpio_base)
> switch(tps65910_chip_id(tps65910)) {
> case TPS65910:
> tps65910->gpio.ngpio = 6;
> + break;
> case TPS65911:
> tps65910->gpio.ngpio = 9;
> + break;
> default:
> return;
> }
> --
> 1.7.4.1
>
>
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-07-06 5:17 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-07-06 2:08 [PATCH] gpio: tps65910: add missing breaks in tps65910_gpio_init Axel Lin
2011-07-06 5:17 ` Grant Likely
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox