diff options
author | Russell King <[email protected]> | 2019-06-10 20:10:59 +0300 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2019-06-12 11:14:48 +0200 |
commit | 9c7f798d170a848cdcfbb81763c05635900146aa (patch) | |
tree | 41fe7f4d607d03f4d5b329e1769370bd72b84227 /drivers/usb/cdns3/cdns3-debug.h | |
parent | 9a3027812257de71cd4122f69d7f4b16551bc076 (diff) |
gpio: omap: clean up omap_gpio_restore_context()
Use local variables to store the base iomem address and regs table
pointer like omap_gpio_init_context() does. Not only does this make
the function neater, it also avoids unnecessary reloads of the same
data multiple times.
Signed-off-by: Russell King <[email protected]>
Signed-off-by: Grygorii Strashko <[email protected]>
Tested-by: Tony Lindgren <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'drivers/usb/cdns3/cdns3-debug.h')
0 files changed, 0 insertions, 0 deletions