summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorAndrey Smirnov <andrew.smirnov@gmail.com>2019-03-11 09:27:33 +0300
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2019-03-18 10:58:45 +0300
commit4a8909d0228133ec02ffac76590c055e593e8185 (patch)
tree5db0d1eb31d0242a12e24dece6e0a573ba7b62b4 /tools/perf/scripts/python/export-to-postgresql.py
parenta262555bc68561dc861cb24d3bd432fd6ce4f868 (diff)
downloadlinux-4a8909d0228133ec02ffac76590c055e593e8185.tar.xz
gpio: vf610: Simplify vf610_gpio_get()
Both branches of the if statement do exactly the same thing, just at different offsets. Simplify the code a bit by moving shared action code outside of the if statement. No functional change intended. Signed-off-by: Andrey Smirnov <andrew.smirnov@gmail.com> Cc: Linus Walleij <linus.walleij@linaro.org> Cc: Bartosz Golaszewski <bgolaszewski@baylibre.com> Cc: Chris Healy <cphealy@gmail.com> Cc: Andrew Lunn <andrew@lunn.ch> Cc: Heiner Kallweit <hkallweit1@gmail.com> Cc: Fabio Estevam <festevam@gmail.com> Cc: linux-gpio@vger.kernel.org Cc: linux-kernel@vger.kernel.org Cc: linux-imx@nxp.com Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions