Skip to content
Commit fea768cf authored by Uwe Kleine-König's avatar Uwe Kleine-König Committed by Thierry Reding
Browse files

leds: qcom-lpg: Propagate errors in .get_state() to the caller



.get_state() can return an error indication. Make use of it to propagate
failing hardware accesses.

Acked-by: default avatarPavel Machek <pavel@ucw.cz>
Acked-by: default avatarConor Dooley <conor.dooley@microchip.com>
Link: https://lore.kernel.org/r/20221130152148.2769768-5-u.kleine-koenig@pengutronix.de


Signed-off-by: default avatarUwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: default avatarThierry Reding <thierry.reding@gmail.com>
parent f00de180
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment