diff options
author | Andrey Smirnov <[email protected]> | 2019-03-10 23:27:32 -0700 |
---|---|---|
committer | Bartosz Golaszewski <[email protected]> | 2019-03-18 08:58:45 +0100 |
commit | a262555bc68561dc861cb24d3bd432fd6ce4f868 (patch) | |
tree | d6659d66543e1e056e243bde1a31c9e76df98b34 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 338aa10750ba24d04beeaf5dc5efc032e5cf343f (diff) |
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 <[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 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions