]> git.baikalelectronics.ru Git - kernel.git/commit
leds: syscon: Correct check for syscon_node_to_regmap() errors
authorBjorn Andersson <bjorn.andersson@sonymobile.com>
Tue, 18 Aug 2015 19:25:26 +0000 (12:25 -0700)
committerJacek Anaszewski <j.anaszewski@samsung.com>
Fri, 28 Aug 2015 12:06:25 +0000 (14:06 +0200)
commit0c785c9bb44eeff8a1daf560f93e82b27838c12c
tree0c1bba3df895097c18563288e94a06612e913a18
parent884ae91fd1116c2a4b06962ec1e11103002b6fbe
leds: syscon: Correct check for syscon_node_to_regmap() errors

syscon_node_to_regmap() returns a regmap or an ERR_PTR().

Signed-off-by: Bjorn Andersson <bjorn.andersson@sonymobile.com>
Signed-off-by: Jacek Anaszewski <j.anaszewski@samsung.com>
drivers/leds/leds-syscon.c