Re: [PATCH] regulator: core: Refactor devm_regulator_get* APIs

2013-09-11 Thread Mark Brown
On Sun, Sep 01, 2013 at 12:24:17PM +0800, Axel Lin wrote: > The implementation of devm_regulator_get, devm_regulator_get_exclusive and > devm_regulator_get_optional are almost the same. > Introduce _devm_regulator_get helper function and refactor the code. Applied, thanks. signature.asc Descript

[PATCH] regulator: core: Refactor devm_regulator_get* APIs

2013-08-31 Thread Axel Lin
The implementation of devm_regulator_get, devm_regulator_get_exclusive and devm_regulator_get_optional are almost the same. Introduce _devm_regulator_get helper function and refactor the code. Also move devm_regulator_get_exclusive to proper place, put it after regulator_get_exclusive() function.