aboutsummaryrefslogtreecommitdiff
path: root/lib/mpi/mpiutil.c
diff options
context:
space:
mode:
authorDaniel Mack <[email protected]>2019-09-13 20:07:49 +0200
committerPavel <[email protected]>2019-11-03 17:37:13 +0100
commitb46d2b4d3d8166ab51f491a2801e2cbed2e8a7aa (patch)
tree320484770bb58580daf26fc9532d132f0db1f7eb /lib/mpi/mpiutil.c
parentfc19967bcb8f1ab49594191ee0d352d763dc170e (diff)
drivers: leds: tlc591xx: check error during device init
The driver currently ignores errors from register writes at probe time. It will hence register an LED class device no matter whether the pyhsical device is present or not. To fix this, make the device probe fail in case regmap operations return an error. Signed-off-by: Daniel Mack <[email protected]> Signed-off-by: Pavel Machek <[email protected]>
Diffstat (limited to 'lib/mpi/mpiutil.c')
0 files changed, 0 insertions, 0 deletions