diff options
author | Laxman Dewangan <ldewangan@nvidia.com> | 2011-07-14 18:38:07 +0530 |
---|---|---|
committer | Varun Colbert <vcolbert@nvidia.com> | 2011-07-15 16:50:16 -0700 |
commit | 7391b685365f8b1dc8c1477c6b3507007567991c (patch) | |
tree | 536da26068cbabe79d2363262412aea1be06ef64 /drivers/mfd | |
parent | 844983ef04e9521595451829757fdcdc020273b2 (diff) |
mfd: tps6591x: Reorganise GPIO definition
Adding the TPS6591x gpio definition in tps6591x core header
files.
bug 849976
Change-Id: I1f7a7cc38e220c091ccf44db5af6e43c34daa1cd
Reviewed-on: http://git-master/r/41040
Reviewed-by: Varun Colbert <vcolbert@nvidia.com>
Tested-by: Varun Colbert <vcolbert@nvidia.com>
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/tps6591x.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/mfd/tps6591x.c b/drivers/mfd/tps6591x.c index f63a01a2166a..fba43df03e83 100644 --- a/drivers/mfd/tps6591x.c +++ b/drivers/mfd/tps6591x.c @@ -410,7 +410,7 @@ static void tps6591x_gpio_init(struct tps6591x *tps6591x, tps6591x->gpio.label = tps6591x->client->name; tps6591x->gpio.dev = tps6591x->dev; tps6591x->gpio.base = gpio_base; - tps6591x->gpio.ngpio = 9; + tps6591x->gpio.ngpio = TPS6591X_GPIO_NR; tps6591x->gpio.can_sleep = 1; tps6591x->gpio.direction_input = tps6591x_gpio_input; |