summaryrefslogtreecommitdiffstats
path: root/drivers/firmware/arm_scmi/base.c
diff options
context:
space:
mode:
authorDan Murphy <dmurphy@ti.com>2019-09-11 20:27:30 +0200
committerJacek Anaszewski <jacek.anaszewski@gmail.com>2019-09-12 20:45:52 +0200
commit6d4faf3b6b6eb3c8a750b2e6659a5b1ff3dd9e75 (patch)
tree7a6d4f89960fa06353f9ed71ab7761f32a06a74f /drivers/firmware/arm_scmi/base.c
parentled: triggers: Fix dereferencing of null pointer (diff)
downloadlinux-6d4faf3b6b6eb3c8a750b2e6659a5b1ff3dd9e75.tar.xz
linux-6d4faf3b6b6eb3c8a750b2e6659a5b1ff3dd9e75.zip
leds: lm3532: Fix optional led-max-microamp prop error handling
Fix the error handling for the led-max-microamp property. Need to check if the property is present and then if it is retrieve the setting and its max boundary Reported-by: Pavel Machek <pavel@ucw.cz> Signed-off-by: Dan Murphy <dmurphy@ti.com> Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Diffstat (limited to 'drivers/firmware/arm_scmi/base.c')
0 files changed, 0 insertions, 0 deletions