aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/devicetree/bindings/leds
diff options
context:
space:
mode:
authorWei Yongjun <weiyongjun1@huawei.com>2018-05-22 11:45:56 +0000
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2018-05-22 21:57:59 +0200
commit43926c2761bcf3a7a720f707510f9c00b2830bfa (patch)
tree38716c1fe05b383e35f859484377db6bd3d2cbfc /Documentation/devicetree/bindings/leds
parentleds: Add Spreadtrum SC27xx breathing light controller driver (diff)
downloadlinux-dev-43926c2761bcf3a7a720f707510f9c00b2830bfa.tar.xz
linux-dev-43926c2761bcf3a7a720f707510f9c00b2830bfa.zip
leds: sc27xx: Fix return value check in sc27xx_led_probe()
In case of error, the function dev_get_regmap() returns NULL pointer not ERR_PTR(). The IS_ERR() test in the return value check should be replaced with NULL test. Fixes: e081c49e30ec ("leds: Add Spreadtrum SC27xx breathing light controller driver") Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'Documentation/devicetree/bindings/leds')
0 files changed, 0 insertions, 0 deletions