Re: [PATCH] pinctrl: imx: Fix the logic checking if not able to findpin reg map

From: Linus Walleij
Date: Thu Nov 15 2012 - 06:04:02 EST


On Tue, Nov 13, 2012 at 2:00 AM, Axel Lin <axel.lin@xxxxxxxxxx> wrote:

> Current code sets "pin_reg = &info->pin_regs[i];" in each loop iteration,
> so in the case of no-match, pin_reg is not NULL.
>
> Signed-off-by: Axel Lin <axel.lin@xxxxxxxxxx>

Thanks, applied with Dong's ACK.

Yours,
Linus Walleij
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/