[PATCH] pinctrl: pinctrl-single: Avoid divisions in context save/restore
From: Linus Walleij <hidden>
Date: 2018-06-14 08:33:32
Also in:
linux-gpio, linux-omap
From: Linus Walleij <hidden>
Date: 2018-06-14 08:33:32
Also in:
linux-gpio, linux-omap
On Thu, Jun 7, 2018 at 2:24 PM, Geert Uytterhoeven [off-list ref] wrote:
The divisions (and multiplications) can be avoided by changing the loops to use increments of mux_bytes instead of 1. While at it, remove the unneeded casts when assigning void pointers. This saves +100 bytes of kernel size on arm32/arm64. Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Patch applied for v4.19. Yours, Linus Walleij