[PATCH v2 2/4] regulator: pass device_node to of_get_regulator_init_data()

Mark Brown broonie at opensource.wolfsonmicro.com
Tue Dec 6 06:28:41 EST 2011


On Thu, Dec 01, 2011 at 05:21:06PM +0800, Shawn Guo wrote:
> It's not always true that the device_node of regulator can be found
> at dev->of_node at the time when of_get_regulator_init_data() is being
> called, because in some cases the regulator nodes in device tree do
> not have 'struct device' behind them until regulator_dev gets created
> for it by core function regulator_register().

Applied, thanks.


More information about the devicetree-discuss mailing list