Revert "pinctrl: sh-pfc: r8a77990: Add support for pull-up only pins"
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 26 Dec 2018 08:21:07 +0000 (09:21 +0100)
committerGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 21 Jan 2019 12:24:52 +0000 (13:24 +0100)
commit85ccae133bde425bce8ebe0a5f64e41749a1885a
treef0c1f01eb667fd66b63d5337272fcb9302954b2b
parentf7d8b568e204d295bf0e780cea10cab1f84be31e
Revert "pinctrl: sh-pfc: r8a77990: Add support for pull-up only pins"

This reverts commit f4caa6ee736fa8a46c806ba4382c16f7e5a20248.

The same can be expressed better by dropping the
SH_PFC_PIN_CFG_PULL_DOWN flag from the GPIO description, as it includes
returning an error to the caller when trying to configure the pin for
pull-down, causing:

    sh-pfc e6060000.pin-controller: pin_config_set op failed for pin 201
    sh-pfc e6060000.pin-controller: Error applying setting, reverse things back
    sh-pfc e6060000.pin-controller: failed to select default state

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Simon Horman <horms+renesas@verge.net.au>
drivers/pinctrl/sh-pfc/pfc-r8a77990.c