diff options
author | Dan Carpenter <dan.carpenter@oracle.com> | 2014-06-11 11:15:13 +0300 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2014-07-05 01:15:35 +0200 |
commit | 1419d8151be990f115c38deac497ad84d26434dd (patch) | |
tree | 78a79d26002afd275ba0253858511109030d9a3c /lib/crc32.c | |
parent | bd07894e217b174361711320be50c8308456096d (diff) |
pinctrl: berlin: fix an error code in berlin_pinctrl_probe()pinctrl-v3.16-2
We are returning success here because PTR_ERR(NULL) is zero. We should
be returning -ENODEV.
Fixes: 3de68d331c24 ('pinctrl: berlin: add the core pinctrl driver for Marvell Berlin SoCs')
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Acked-by: Sebastian Hesselbarth <sebastian.hesselbarth@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/crc32.c')
0 files changed, 0 insertions, 0 deletions