summaryrefslogtreecommitdiff
path: root/drivers/mfd/dm355evm_msp.c
diff options
context:
space:
mode:
authorLinus Walleij <linus.walleij@linaro.org>2014-07-07 12:34:32 +0200
committerSebastian Reichel <sre@kernel.org>2014-07-18 23:40:23 +0200
commit86336ba4b7daa8fa71be71b8d5f8e13de526f315 (patch)
treee36ef17120a3c3875320ad041cce4b3c99f8cffc /drivers/mfd/dm355evm_msp.c
parent3dd843e1c26a023dc8d776e5d984c635c642785f (diff)
power: poweroff: gpio: convert to use descriptors
This switches the GPIO poweroff driver to use GPIO descriptors rather than numeral GPIOs. We get rid of the specific inversion handling as GPIO descriptors know if they are active low or high and can assert the line properly, so we do not need to check the flag OF_GPIO_ACTIVE_LOW returned from the old call of_get_gpio_flags() anymore. Also convert to use managed resources and use dev_* message printing while we're at it. Signed-off-by: Linus Walleij <linus.walleij@linaro.org> Reviewed-by: Alexandre Courbot <acourbot@nvidia.com> Signed-off-by: Sebastian Reichel <sre@kernel.org>
Diffstat (limited to 'drivers/mfd/dm355evm_msp.c')
0 files changed, 0 insertions, 0 deletions