diff options
author | Russell King <rmk+kernel@armlinux.org.uk> | 2019-06-10 20:10:51 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-06-12 11:13:47 +0200 |
commit | 5ca5f92c1add64895bd72ff96f58ff2a1e02a53e (patch) | |
tree | 56b24a1533edb88f5978fcefc7b7ab4570ec1790 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 40bb2273a263ada2e563e1e601940e60bf7e53da (diff) |
gpio: omap: simplify get() method
omap_gpio_get() calls omap_get_gpio_datain() or omap_get_gpio_dataout()
to read the GPIO state. These two functions are only called from this
method, so they don't add much value. Move their contents into
omap_gpio_get() method and simplify.
Signed-off-by: Russell King <rmk+kernel@armlinux.org.uk>
Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com>
Tested-by: Tony Lindgren <tony@atomide.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