diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2015-03-19 15:52:45 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-03-26 14:20:17 +0000 |
commit | 1422731dbc14063fc7083cb090108c0d95267361 (patch) | |
tree | e0e2bd85c768f78d1c17b8f38c262a2df660d947 /drivers/gpio/gpio-tc3589x.c | |
parent | 5d5a7bffd02863a526abad7700c18b96d4cae19e (diff) | |
download | linux-1422731dbc14063fc7083cb090108c0d95267361.tar.bz2 |
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.c | 3 |
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, |