alistair23-linux/drivers/pinctrl/sprd
Dan Carpenter 41470c379b pinctrl: sprd: check for allocation failure
devm_pinctrl_get() could fail with ERR_PTR(-ENOMEM) so I have added a
check for that.  I also reversed the other IS_ERR() test because it was
a little confusing to test one way and then the opposite a couple lines
later.

Fixes: 41d32cfce1 ("pinctrl: sprd: Add Spreadtrum pin control driver")
Signed-off-by: Dan Carpenter <dan.carpenter@oracle.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2017-09-12 11:26:40 +02:00
..
Kconfig pinctrl: sprd: Restrict PINCTRL_SPRD to ARCH_SPRD or COMPILE_TEST 2017-09-12 11:21:12 +02:00
Makefile
pinctrl-sprd-sc9860.c
pinctrl-sprd.c pinctrl: sprd: check for allocation failure 2017-09-12 11:26:40 +02:00
pinctrl-sprd.h