diff options
author | 2015-03-27 09:32:06 -0700 | |
---|---|---|
committer | 2015-04-03 17:08:59 -0700 | |
commit | 61125591e1de23992279938eebf8c54f47d7e0a9 (patch) | |
tree | 1e911b2a9be8ee9ff932341fad33eb4042136e46 /drivers/gpio/gpio-tc3589x.c | |
parent | Input: tc3589x - localize platform data (diff) | |
download | linux-dev-61125591e1de23992279938eebf8c54f47d7e0a9.tar.xz linux-dev-61125591e1de23992279938eebf8c54f47d7e0a9.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>
Acked-by: Lee Jones <lee.jones@linaro.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
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, |