On 03/10/2023 13:16, Mateusz Majewski wrote: > We rewrite the initialization to enable the regulator as part of devm, > which allows us to not handle the struct instance manually. We also > remove the error message in case the regulator is unavailable, as this > is expected behaviour. > > Signed-off-by: Mateusz Majewski <m.majewski2@xxxxxxxxxxx> > --- > v2 -> v3: fixed error handling of devm_regulator_get_optional to handle > the case in which the regulator is available, but enabling it fails. > Also removed the error message, split into two commits and reworded > the commit message. > Reviewed-by: Krzysztof Kozlowski <krzysztof.kozlowski@xxxxxxxxxx> Best regards, Krzysztof