On Wed, Mar 09, 2016 at 02:45:36AM +0200, Vladimir Zapolskiy 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> Acked-by: Shawn Guo <shawnguo@xxxxxxxxxx> -- 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