aboutsummaryrefslogtreecommitdiff
path: root/drivers/mtd/lpddr/lpddr_cmds.c
diff options
context:
space:
mode:
authorDmitry Torokhov <[email protected]>2010-02-23 23:38:17 -0800
committerLiam Girdwood <[email protected]>2010-03-03 14:49:28 +0000
commitebbed04fe7f89c9cb00df32f7123bc1b84b456cb (patch)
treef0f672bee06bf5512ebce4b61363feff1658fd47 /drivers/mtd/lpddr/lpddr_cmds.c
parent56c23492b2266fcbe38f26a3de217902c70a895b (diff)
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 <[email protected]> Acked-by: Mark Brown <[email protected]> Signed-off-by: Liam Girdwood <[email protected]>
Diffstat (limited to 'drivers/mtd/lpddr/lpddr_cmds.c')
0 files changed, 0 insertions, 0 deletions