diff options
author | Andrey Smirnov <[email protected]> | 2019-03-10 23:27:33 -0700 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2019-03-18 08:58:45 +0100 |
commit | 4a8909d0228133ec02ffac76590c055e593e8185 (patch) | |
tree | 5db0d1eb31d0242a12e24dece6e0a573ba7b62b4 /tools/perf/scripts/python/mem-phys-addr.py | |
parent | a262555bc68561dc861cb24d3bd432fd6ce4f868 (diff) |
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 <[email protected]>
Cc: Linus Walleij <[email protected]>
Cc: Bartosz Golaszewski <[email protected]>
Cc: Chris Healy <[email protected]>
Cc: Andrew Lunn <[email protected]>
Cc: Heiner Kallweit <[email protected]>
Cc: Fabio Estevam <[email protected]>
Cc: [email protected]
Cc: [email protected]
Cc: [email protected]
Signed-off-by: Bartosz Golaszewski <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/mem-phys-addr.py')
0 files changed, 0 insertions, 0 deletions