projects
/
cascardo
/
linux.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Merge tag 'trace-seq-buf-3.19' of git://git.kernel.org/pub/scm/linux/kernel/git/roste...
[cascardo/linux.git]
/
drivers
/
gpio
/
gpio-tc3589x.c
diff --git
a/drivers/gpio/gpio-tc3589x.c
b/drivers/gpio/gpio-tc3589x.c
index
ae0f646
..
abdcf58
100644
(file)
--- a/
drivers/gpio/gpio-tc3589x.c
+++ b/
drivers/gpio/gpio-tc3589x.c
@@
-262,7
+262,7
@@
static int tc3589x_gpio_probe(struct platform_device *pdev)
tc3589x_gpio->chip = template_chip;
tc3589x_gpio->chip.ngpio = tc3589x->num_gpio;
tc3589x_gpio->chip.dev = &pdev->dev;
tc3589x_gpio->chip = template_chip;
tc3589x_gpio->chip.ngpio = tc3589x->num_gpio;
tc3589x_gpio->chip.dev = &pdev->dev;
- tc3589x_gpio->chip.base =
(pdata) ? pdata->gpio_base :
-1;
+ tc3589x_gpio->chip.base = -1;
#ifdef CONFIG_OF_GPIO
tc3589x_gpio->chip.of_node = np;
#ifdef CONFIG_OF_GPIO
tc3589x_gpio->chip.of_node = np;