diff options
author | 2016-06-14 19:07:04 +0900 | |
---|---|---|
committer | 2016-06-23 11:07:10 +0200 | |
commit | be715343011b80a8da71ff978b50981984f037b9 (patch) | |
tree | 413c219d1be5c0fce5c291748de767df62fdc322 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: of: optimize "gpios" property parsing of of_parse_own_gpio() (diff) | |
download | wireguard-linux-be715343011b80a8da71ff978b50981984f037b9.tar.xz wireguard-linux-be715343011b80a8da71ff978b50981984f037b9.zip |
gpio: of: drop needless gpio_chip look-up in of_parse_own_gpio()
This function is doing more complicated than needed. The caller of
this function, of_gpiochip_scan_gpios() already knows the pointer to
the gpio_chip. It can pass it to of_parse_own_gpio() instead of
looking up the gpio_chip by gpiochip_find().
Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions