Thread (11 messages) 11 messages, 6 authors, 2017-03-15

[PATCH -next v2] pinctrl: samsung: Fix return value check in samsung_pinctrl_get_soc_data()

From: Linus Walleij <hidden>
Date: 2017-02-13 14:49:15
Also in: linux-gpio, linux-samsung-soc

On Sun, Feb 5, 2017 at 4:58 PM, Wei Yongjun [off-list ref] wrote:
From: Wei Yongjun <redacted>

In case of error, the function devm_ioremap() returns NULL pointer not
ERR_PTR(). Fix by using devm_ioremap_resource instead of devm_ioremap.

Fixes: 8b1bd11c1f8f ("pinctrl: samsung: Add the support the multiple
IORESOURCE_MEM for one pin-bank")
Signed-off-by: Wei Yongjun <redacted>
---
v1 -> v2: use devm_ioremap_resource instead of devm_ioremap
Patch applied with Krzysztof's ACK.

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