gpio: pisosr: Use devm_gpiod_get_optional for gpio->load_gpio
authorAxel Lin <axel.lin@ingics.com>
Mon, 22 Feb 2016 12:16:51 +0000 (20:16 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 25 Feb 2016 13:16:57 +0000 (14:16 +0100)
commitea1361fd5f26f1dbb369f85b3ad42a84c133e7e1
treeaf03c5621bc6f90f853e2f91b950bd6a74e22eda
parent67ebb742b9303a53d62e0cac2939e7e70846412c
gpio: pisosr: Use devm_gpiod_get_optional for gpio->load_gpio

gpio->load_gpio is optional, so use devm_gpiod_get_optional instead.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Andrew F. Davis <afd@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pisosr.c