]> git.karo-electronics.de Git - linux-beck.git/commit
regulator: core: Warn on missing struct device
authorMark Brown <broonie@opensource.wolfsonmicro.com>
Tue, 8 May 2012 17:09:12 +0000 (18:09 +0100)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Thu, 10 May 2012 09:48:37 +0000 (10:48 +0100)
commitdcf701125eefea6baf72753533cb8b60fb0e3934
treeaf88fe1d27d9b9061a00a3a9064ac18d6389cb95
parent0f82b6cf76516063fe26dac15e93544387c681eb
regulator: core: Warn on missing struct device

The core really wants a struct device to be supplied for regulators and
there's no reason this should be impossible so provide one so complain
if we didn't get one.

Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Acked-by: Liam Girdwood <lrg@ti.com>
drivers/regulator/core.c