linux/drivers/pinctrl/berlin
Dan Carpenter 1419d8151b pinctrl: berlin: fix an error code in berlin_pinctrl_probe()
We are returning success here because PTR_ERR(NULL) is zero.  We should
be returning -ENODEV.

Fixes: 3de68d331c ('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>
2014-07-05 01:15:35 +02:00
..
berlin-bg2.c pinctrl: berlin: Use devm_ioremap_resource() 2014-05-27 16:03:24 +02:00
berlin-bg2cd.c pinctrl: berlin: Use devm_ioremap_resource() 2014-05-27 16:03:24 +02:00
berlin-bg2q.c pinctrl: berlin: Use devm_ioremap_resource() 2014-05-27 16:03:24 +02:00
berlin.c pinctrl: berlin: fix an error code in berlin_pinctrl_probe() 2014-07-05 01:15:35 +02:00
berlin.h
Kconfig pinctrl: berlin: add the BG2CD pinctrl driver 2014-05-23 00:06:38 +02:00
Makefile pinctrl: berlin: add the BG2CD pinctrl driver 2014-05-23 00:06:38 +02:00