Thread (4 messages) 4 messages, 3 authors, 2013-06-28

Re: [PATCH -next] pinctrl: st: fix return value check

From: Linus Walleij <hidden>
Date: 2013-06-27 10:29:48
Also in: lkml

On Wed, Jun 26, 2013 at 6:30 PM, Wei Yongjun [off-list ref] wrote:
From: Wei Yongjun <redacted>

In case of error, the function pinctrl_register() returns
NULL not ERR_PTR(). The IS_ERR() test in the return value
check should be replaced with NULL test.
The function syscon_regmap_lookup_by_phandle() returns ERR_PTR()
and never returns NULL. The NULL test in the return value check
should be replaced with IS_ERR().

Signed-off-by: Wei Yongjun <redacted>
This driver is merged into Mark Brown's regmap tree and need
to be applied as a fix there.

Pls resend it if Mark has not recieved it.

Include Srinivas on patches so he can ACK them.

Yours,
Linus Walleij
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help