leds: lm3692x: Print error value on dev_err
authorGuido Günther <agx@sigxcpu.org>
Sat, 21 Sep 2019 21:12:08 +0000 (14:12 -0700)
committerPavel <pavel@ucw.cz>
Sun, 3 Nov 2019 16:37:40 +0000 (17:37 +0100)
commit1051da2cfc7ef37ffc3e7a595dc80fefb41f09ad
treed4b486fc28a6ef8c819b2d915ca7559f13f8e13c
parent5b4b723c483f5027da77409f34b8b4602ee1e557
leds: lm3692x: Print error value on dev_err

This gives a way better idea what is going on.

Signed-off-by: Guido Günther <agx@sigxcpu.org>
Reviewed-by: Dan Murphy <dmurphy@ti.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Pavel Machek <pavel@ucw.cz>
drivers/leds/leds-lm3692x.c