|
@@ -133,7 +133,7 @@ static int tps65910_gpio_probe(struct platform_device *pdev)
|
|
tps65910_gpio->gpio_chip.owner = THIS_MODULE;
|
|
tps65910_gpio->gpio_chip.owner = THIS_MODULE;
|
|
tps65910_gpio->gpio_chip.label = tps65910->i2c_client->name;
|
|
tps65910_gpio->gpio_chip.label = tps65910->i2c_client->name;
|
|
|
|
|
|
- switch(tps65910_chip_id(tps65910)) {
|
|
|
|
|
|
+ switch (tps65910_chip_id(tps65910)) {
|
|
case TPS65910:
|
|
case TPS65910:
|
|
tps65910_gpio->gpio_chip.ngpio = TPS65910_NUM_GPIO;
|
|
tps65910_gpio->gpio_chip.ngpio = TPS65910_NUM_GPIO;
|
|
break;
|
|
break;
|