Re: [PATCH] pinctrl: zynq: change error code for pinctrl_register failure

From: Linus Walleij
Date: Mon Jun 01 2015 - 11:01:06 EST


On Tue, May 26, 2015 at 8:37 PM, SÃren Brinkmann
<soren.brinkmann@xxxxxxxxxx> wrote:
> On Tue, 2015-05-26 at 10:12AM +0200, Arnd Bergmann wrote:

>> Could we add a pinctrl_register_reason() variant that returns a meaningful
>> error code as ERR_PTR?
>
> I agree with Arnd. As long as we don't get a precise error code we can
> just keep the current one.

pinctrl_register_cause() please.

Cause-and-effect, not "age of reason".

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/