On Fri 2021-05-21 13:21:01, Christophe JAILLET wrote: > In 'ktd2692_parse_dt()', if an error occurs after a successful > 'regulator_enable()' call, we should call 'regulator_enable()'. > > This is the same in 'ktd2692_probe()', if an error occurs after a > successful 'ktd2692_parse_dt()' call. > > Instead of adding 'regulator_enable()' in several places, implement a > resource managed solution and simplify the remove function accordingly. > > Fixes: b7da8c5c725c ("leds: Add ktd2692 flash LED driver") > Signed-off-by: Christophe JAILLET <christophe.jaillet@xxxxxxxxxx> Thanks, applied. Pavel -- http://www.livejournal.com/~pavelmachek
Attachment:
signature.asc
Description: Digital signature