Re: [PATCH] gpio: iop: fix devm_ioremap_resource() return value checking

From: Alexandre Courbot
Date: Tue Mar 18 2014 - 21:57:47 EST


On Tue, Mar 18, 2014 at 6:58 PM, Bartlomiej Zolnierkiewicz
<b.zolnierkie@xxxxxxxxxxx> wrote:
> devm_ioremap_resource() returns a pointer to the remapped memory or
> an ERR_PTR() encoded error code on failure. Fix the check inside
> iop3xx_gpio_probe() accordingly.

Acked-by: Alexandre Courbot <acourbot@xxxxxxxxxx>
--
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/