Re: [patch] pinctrl: berlin: fix an error code in berlin_pinctrl_probe()

From: Linus Walleij
Date: Fri Jul 04 2014 - 19:16:28 EST


On Wed, Jun 11, 2014 at 10:15 AM, Dan Carpenter
<dan.carpenter@xxxxxxxxxx> wrote:

> We are returning success here because PTR_ERR(NULL) is zero. We should
> be returning -ENODEV.
>
> Fixes: 3de68d331c24 ('pinctrl: berlin: add the core pinctrl driver for Marvell Berlin SoCs')
> Signed-off-by: Dan Carpenter <dan.carpenter@xxxxxxxxxx>

Patch applied for fixes!

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/