[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Message-ID: <CACRpkdYU4MDP3dhVFvLgom36iwq_=dp8nQudO_t+mt9Kn7Dnow@mail.gmail.com>
Date: Mon, 1 Jun 2015 17:00:53 +0200
From: Linus Walleij <linus.walleij@...aro.org>
To: Sören Brinkmann <soren.brinkmann@...inx.com>
Cc: Arnd Bergmann <arnd@...db.de>,
"linux-arm-kernel@...ts.infradead.org"
<linux-arm-kernel@...ts.infradead.org>,
Masahiro Yamada <yamada.masahiro@...ionext.com>,
"linux-gpio@...r.kernel.org" <linux-gpio@...r.kernel.org>,
Michal Simek <michal.simek@...inx.com>,
"linux-kernel@...r.kernel.org" <linux-kernel@...r.kernel.org>
Subject: Re: [PATCH] pinctrl: zynq: change error code for pinctrl_register failure
On Tue, May 26, 2015 at 8:37 PM, Sören Brinkmann
<soren.brinkmann@...inx.com> 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists