projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b178e7e
)
gpio: ts4800: Drop redundant code to set already initialized gpio_chip fields
author
Axel Lin
<axel.lin@ingics.com>
Sat, 20 Feb 2016 06:22:46 +0000
(14:22 +0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Thu, 25 Feb 2016 14:20:44 +0000
(15:20 +0100)
Both chip->base and chip->label are correctly set by bgpio_init().
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Tested-by: Julien Grossholtz <julien.grossholtz@savoirfairelinux.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-ts4800.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/gpio/gpio-ts4800.c
b/drivers/gpio/gpio-ts4800.c
index 9da79e4a67c5af87aab47f08394655ac7f4f112a..1478245542537f95d187d2fa195c8f08cffd5995 100644
(file)
--- a/
drivers/gpio/gpio-ts4800.c
+++ b/
drivers/gpio/gpio-ts4800.c
@@
-54,8
+54,6
@@
static int ts4800_gpio_probe(struct platform_device *pdev)
return retval;
}
- chip->base = -1;
- chip->label = dev_name(&pdev->dev);
chip->ngpio = ngpios;
platform_set_drvdata(pdev, chip);