Would devm_regulator_enable be useful ?

From: Guenter Roeck
Date: Sat Feb 01 2014 - 19:24:10 EST

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.

To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/