On Mon, Jan 16, 2012 at 07:39:58PM -0800, Stephen Boyd wrote: > Add a resource managed regulator_get() to simplify regulator > usage in drivers. This allows driver authors to "get and forget" > about their regulators by automatically calling regulator_put() > when the driver is detached. So, I've gone ahead and applied this as it's obviously useful as-is but it's obviously something that should have a bulk version - I'll probably add that myself. We really ought to have release functions too in case something wants to release the resource earlier, though I can't think where you'd actually use those. -- To unsubscribe from this list: send the line "unsubscribe linux-doc" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html