summaryrefslogtreecommitdiffstats
path: root/drivers/gpio/gpio-74x164.c
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-06-14 19:07:07 +0900
committerLinus Walleij <linus.walleij@linaro.org>2016-06-23 11:07:12 +0200
commit99468c1af913bb5662c223b68e783b4bf9200184 (patch)
treebe0e9fc9480a7966d314c5651205e60307b5e641 /drivers/gpio/gpio-74x164.c
parent762c2e46c0591d207289105c8718e4adf29b2b34 (diff)
downloadlinux-stable-99468c1af913bb5662c223b68e783b4bf9200184.tar.gz
linux-stable-99468c1af913bb5662c223b68e783b4bf9200184.tar.bz2
linux-stable-99468c1af913bb5662c223b68e783b4bf9200184.zip
gpio: of: factor out common code to a new helper function
The conversion from a DT spec to struct gpio_desc is common between of_get_named_gpiod_flags() and of_parse_own_gpio(). Factor out the common code to a new helper, of_xlate_and_get_gpiod_flags(). Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-74x164.c')
0 files changed, 0 insertions, 0 deletions