diff options
author | Masahiro Yamada <yamada.masahiro@socionext.com> | 2016-06-14 12:07:07 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2016-06-23 11:07:12 +0200 |
commit | 99468c1af913bb5662c223b68e783b4bf9200184 (patch) | |
tree | be0e9fc9480a7966d314c5651205e60307b5e641 /tools/lguest | |
parent | gpio: of: remove of_gpiochip_and_xlate() and struct gg_data (diff) | |
download | linux-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