diff options
author | Stefan Agner <stefan@agner.ch> | 2015-02-06 17:30:56 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2015-03-18 02:02:11 +0100 |
commit | 4691dd0148e082097300239d4143311efc23f6ca (patch) | |
tree | 8f323039ff29b9f2a8a578c0de3f07f6f6e897e5 /drivers/video/logo/logo_superh_vga16.ppm | |
parent | 407f5e392f9c5b9c16178c5e6b2112234fdf9fad (diff) |
pinctrl: imx: do not implicitly set pin regs to -1
Commit 3dac1918a491 ("pinctrl: imx: detect uninitialized pins") needs
the values in struct imx_pin_reg to be -1. This has been done in a
rather unorthodox way by setting the memory to 0xff using memset...
Use a proper for loop to initialize the whole array with -1.
Signed-off-by: Stefan Agner <stefan@agner.ch>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/video/logo/logo_superh_vga16.ppm')
0 files changed, 0 insertions, 0 deletions