diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2018-06-07 14:24:34 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2018-06-18 07:56:05 +0200 |
commit | 7d71b5f4b2fb5b2a38794fe029d6245c86244de6 (patch) | |
tree | 48e5f2ac3dfd604237f651d2c657e3ec4d0bf72c /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 7547b5969e069520d4cf23ba43b4ac889f8bd0ef (diff) |
pinctrl: pinctrl-single: Avoid divisions in context save/restore
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>
Acked-by: Tony Lindgren <tony@atomide.com>
Tested-by: Keerthy <j-keerthy@ti.com>
Reviewed-by: Keerthy <j-keerthy@ti.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions