diff options
author | 2019-03-10 23:27:32 -0700 | |
---|---|---|
committer | 2019-03-18 08:58:45 +0100 | |
commit | a262555bc68561dc861cb24d3bd432fd6ce4f868 (patch) | |
tree | d6659d66543e1e056e243bde1a31c9e76df98b34 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | gpio: vf610: Do not share irq_chip (diff) | |
download | wireguard-linux-a262555bc68561dc861cb24d3bd432fd6ce4f868.tar.xz wireguard-linux-a262555bc68561dc861cb24d3bd432fd6ce4f868.zip |
gpio: vf610: Simplify vf610_gpio_set()
The only difference between two codepaths is register offset
used. Simplify the code a bit by replacing explicit calls with a
single call with a variable offset. 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