regulator: da903x regulator bug fix
authorJonathan Cameron <jic23@cam.ac.uk>
Tue, 28 Oct 2008 11:03:48 +0000 (11:03 +0000)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Thu, 30 Oct 2008 15:31:35 +0000 (15:31 +0000)
commit1841c0f2bf6835aa3d18216e3a932371efa902f0
tree940d2d8b6b8f059e981e76c8680e12ccbc213a22
parentf49d81a8992c4ec43480195a93f30ab4b736f960
regulator: da903x regulator bug fix

Changes the device registration part of the probe function to supply the
regulator device rather than its parent (the mfd device) as this caused
problems when the regulator core attempted to find constraints associated
with the regulators.

Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk>
Acked-by: Eric Miao <eric.miao@marvell.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
drivers/regulator/da903x.c