mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
synced 2025-01-09 14:50:19 +00:00
Merge branch 'gpio/merge' of git://git.secretlab.ca/git/linux-2.6
* 'gpio/merge' of git://git.secretlab.ca/git/linux-2.6: gpio: tps65910: add missing breaks in tps65910_gpio_init
This commit is contained in:
commit
4dd1b49c6d
@ -81,8 +81,10 @@ void tps65910_gpio_init(struct tps65910 *tps65910, int gpio_base)
|
|||||||
switch(tps65910_chip_id(tps65910)) {
|
switch(tps65910_chip_id(tps65910)) {
|
||||||
case TPS65910:
|
case TPS65910:
|
||||||
tps65910->gpio.ngpio = 6;
|
tps65910->gpio.ngpio = 6;
|
||||||
|
break;
|
||||||
case TPS65911:
|
case TPS65911:
|
||||||
tps65910->gpio.ngpio = 9;
|
tps65910->gpio.ngpio = 9;
|
||||||
|
break;
|
||||||
default:
|
default:
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user