[PATCH] pinctrl: imx: do not implicitly set pin regs to -1
Linus Walleij
linus.walleij at linaro.org
Mon Mar 9 09:18:05 PDT 2015
On Fri, Feb 6, 2015 at 5:30 PM, Stefan Agner <stefan at agner.ch> wrote:
> 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 at agner.ch>
Patch applied with the ACKs.
Yours,
Linus Walleij
More information about the linux-arm-kernel
mailing list