summaryrefslogtreecommitdiffstats
path: root/tools/lguest
diff options
context:
space:
mode:
authorMasahiro Yamada <yamada.masahiro@socionext.com>2016-06-14 12:07:07 +0200
committerLinus Walleij <linus.walleij@linaro.org>2016-06-23 11:07:12 +0200
commit99468c1af913bb5662c223b68e783b4bf9200184 (patch)
treebe0e9fc9480a7966d314c5651205e60307b5e641 /tools/lguest
parentgpio: of: remove of_gpiochip_and_xlate() and struct gg_data (diff)
downloadlinux-99468c1af913bb5662c223b68e783b4bf9200184.tar.xz
linux-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 'tools/lguest')
0 files changed, 0 insertions, 0 deletions