Re: leds: lm3642: remove warnings for bad strtol, cleanup gotos

From: Dan Murphy
Date: Fri Jan 03 2020 - 10:52:06 EST


Pavel

On 1/2/20 3:45 PM, Pavel Machek wrote:
Hi!

I've applied this to for-next tree. If you see something very wrong,
let me know.

Nothing wrong with this patch but in reviewing I did notice in the lm3642_control in the switch case that we set the opmode regardless of regmap_update_bits passing or failing.

FWIW

Reviewed-by: Dan Murphy <dmurphy@xxxxxx>

Dan