summaryrefslogtreecommitdiffstats
path: root/drivers/vlynq
diff options
context:
space:
mode:
authorDmitry Torokhov <dmitry.torokhov@gmail.com>2010-02-23 23:38:17 -0800
committerLiam Girdwood <lrg@slimlogic.co.uk>2010-03-03 14:49:28 +0000
commitebbed04fe7f89c9cb00df32f7123bc1b84b456cb (patch)
treef0f672bee06bf5512ebce4b61363feff1658fd47 /drivers/vlynq
parent56c23492b2266fcbe38f26a3de217902c70a895b (diff)
downloadlinux-ebbed04fe7f89c9cb00df32f7123bc1b84b456cb.tar.bz2
Regulators: lp3971 - fail if platform data was not supplied
There is no point in completing probe if platform data is missing so let's abort loading early. Also, use kcalloc when allocating several instances of the same data structure and mark setup_regulators() as __devinit since it is only called from lp3971_i2c_probe() which is __devinit. Signed-off-by: Dmitry Torokhov <dtor@mail.ru> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/vlynq')
0 files changed, 0 insertions, 0 deletions