Would devm_regulator_enable be useful ?

Guenter Roeck
2014-02-02T00:24:01Z

Hi all,

while working with regulators, I noticed that there is no devm_regulator_enable() API.

Seems to me it would be useful to have it, but then devm_clk_enable() doesn't exist either,
so I wonder if there is a reason for not having it.

I'll be happy to submit a patch if people think it is useful; on the other side,
I would like to understand the reason for not having it if there is one.

Thanks,
Guenter