Skip to content
Commit b9604be2 authored by Su Hui's avatar Su Hui Committed by Lee Jones
Browse files

leds: lp5521: Add an error check in lp5521_post_init_device



lp55xx_write() can return an error code, add a check for this.

Signed-off-by: default avatarSu Hui <suhui@nfschina.com>
Link: https://lore.kernel.org/r/20231020091930.207870-1-suhui@nfschina.com
Signed-off-by: default avatarLee Jones <lee@kernel.org>
parent 2038d3fd
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment