diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2016-09-19 10:43:17 +0200 |
---|---|---|
committer | Eric Anholt <eric@anholt.net> | 2016-10-17 18:55:17 +0200 |
commit | 396a3529800af0817c6af2eb65c542588a1f7fb7 (patch) | |
tree | 7cb99dac1705b122dc31e6de0b99d9ecf6aa82ed /drivers/pinctrl/bcm | |
parent | Linux 4.9-rc1 (diff) | |
download | linux-396a3529800af0817c6af2eb65c542588a1f7fb7.tar.xz linux-396a3529800af0817c6af2eb65c542588a1f7fb7.zip |
pinctrl: bcm2835: add pull defines to dt bindings
Also delete (unused) private enum from driver.
The pull defines can be used instead if needed.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
Signed-off-by: Eric Anholt <eric@anholt.net>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Stefan Wahren <stefan.wahren@i2se.com>
Diffstat (limited to 'drivers/pinctrl/bcm')
-rw-r--r-- | drivers/pinctrl/bcm/pinctrl-bcm2835.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/drivers/pinctrl/bcm/pinctrl-bcm2835.c b/drivers/pinctrl/bcm/pinctrl-bcm2835.c index fa77165fab2c..4cf612bcfdfa 100644 --- a/drivers/pinctrl/bcm/pinctrl-bcm2835.c +++ b/drivers/pinctrl/bcm/pinctrl-bcm2835.c @@ -76,12 +76,6 @@ enum bcm2835_pinconf_param { BCM2835_PINCONF_PARAM_PULL, }; -enum bcm2835_pinconf_pull { - BCM2835_PINCONFIG_PULL_NONE, - BCM2835_PINCONFIG_PULL_DOWN, - BCM2835_PINCONFIG_PULL_UP, -}; - #define BCM2835_PINCONF_PACK(_param_, _arg_) ((_param_) << 16 | (_arg_)) #define BCM2835_PINCONF_UNPACK_PARAM(_conf_) ((_conf_) >> 16) #define BCM2835_PINCONF_UNPACK_ARG(_conf_) ((_conf_) & 0xffff) |