diff options
author | Wei Yongjun <yongjun_wei@trendmicro.com.cn> | 2012-10-07 22:01:15 +0800 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-10-15 09:09:27 +0200 |
commit | 3ee73aa077d1468b293bb208814a8c240eefa9b7 (patch) | |
tree | fdd139a5c18f21db3a8c2064a9eb4d68ba825b0a /arch/arm | |
parent | 1cd6dc2e3c2dbececb60a3a5ca52af645d9be205 (diff) | |
download | blackbird-op-linux-3ee73aa077d1468b293bb208814a8c240eefa9b7.tar.gz blackbird-op-linux-3ee73aa077d1468b293bb208814a8c240eefa9b7.zip |
pinctrl: fix return value in bcm2835_pinctrl_probe()
In case of error, the function pinctrl_register() returns
NULL not ERR_PTR(). The PTR_ERR() in the return value
should be replaced with error no.
dpatch engine is used to auto generate this patch.
(https://github.com/weiyj/dpatch)
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm')
0 files changed, 0 insertions, 0 deletions