aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-tc3589x.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2015-03-19 15:52:45 +0100
committerLee Jones <lee.jones@linaro.org>2015-03-26 14:20:17 +0000
commit1422731dbc14063fc7083cb090108c0d95267361 (patch)
treee0e2bd85c768f78d1c17b8f38c262a2df660d947 /drivers/gpio/gpio-tc3589x.c
parentmfd: mc13xxx-core: %pF is only for function pointers (diff)
downloadlinux-dev-1422731dbc14063fc7083cb090108c0d95267361.tar.xz
linux-dev-1422731dbc14063fc7083cb090108c0d95267361.zip
mfd: tc3589x: Enforce device-tree only mode
All systems using the TC3589x multifunction expander uses devicetree, so don't clutter the place with a lot of and assume it is there. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-tc3589x.c')
-rw-r--r--drivers/gpio/gpio-tc3589x.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/gpio/gpio-tc3589x.c b/drivers/gpio/gpio-tc3589x.c
index 11aed2671065..31b244cffabb 100644
--- a/drivers/gpio/gpio-tc3589x.c
+++ b/drivers/gpio/gpio-tc3589x.c
@@ -260,10 +260,7 @@ static int tc3589x_gpio_probe(struct platform_device *pdev)
tc3589x_gpio->chip.ngpio = tc3589x->num_gpio;
tc3589x_gpio->chip.dev = &pdev->dev;
tc3589x_gpio->chip.base = -1;
-
-#ifdef CONFIG_OF_GPIO
tc3589x_gpio->chip.of_node = np;
-#endif
/* Bring the GPIO module out of reset */
ret = tc3589x_set_bits(tc3589x, TC3589x_RSTCTRL,