On Wed, Mar 9, 2016 at 1:45 AM, Vladimir Zapolskiy <vz@xxxxxxxxx> wrote: > On error path of_iomap() returns NULL, hence IS_ERR() check is invalid > and may cause a NULL pointer dereference, the change fixes this > problem. > > While we are here invert a device node check to simplify the code. > > Fixes: 26d8cde5260b ("pinctrl: freescale: imx: add shared input select reg support") > Signed-off-by: Vladimir Zapolskiy <vz@xxxxxxxxx> Patch applied with Shawn's ACK. Yours, Linus Walleij -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html