aboutsummaryrefslogtreecommitdiffstats
path: root/init
diff options
context:
space:
mode:
authorRussell King <rmk+kernel@armlinux.org.uk>2019-06-10 20:10:59 +0300
committerLinus Walleij <linus.walleij@linaro.org>2019-06-12 11:14:48 +0200
commit9c7f798d170a848cdcfbb81763c05635900146aa (patch)
tree41fe7f4d607d03f4d5b329e1769370bd72b84227 /init
parentgpio: omap: remove dataout variation in context handling (diff)
downloadlinux-dev-9c7f798d170a848cdcfbb81763c05635900146aa.tar.xz
linux-dev-9c7f798d170a848cdcfbb81763c05635900146aa.zip
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 <rmk+kernel@armlinux.org.uk> Signed-off-by: Grygorii Strashko <grygorii.strashko@ti.com> Tested-by: Tony Lindgren <tony@atomide.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'init')
0 files changed, 0 insertions, 0 deletions