msm_fb: Pass device pointers to regulator_get()
Passing a device pointer instead of NULL as the first argument
to regulator_get() allows the device to be taken into account
when finding a matching regulator.
Change-Id: Idc9990eff2c6c78fc9fc9a36d638eef4fd1b632a
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
diff --git a/arch/arm/mach-msm/devices-msm7x30.c b/arch/arm/mach-msm/devices-msm7x30.c
index 7999ab8..489c32d 100644
--- a/arch/arm/mach-msm/devices-msm7x30.c
+++ b/arch/arm/mach-msm/devices-msm7x30.c
@@ -1347,7 +1347,7 @@
struct platform_device *msm_footswitch_devices[] = {
FS_PCOM(FS_GFX2D0, "vdd", "kgsl-2d0.0"),
FS_PCOM(FS_GFX3D, "vdd", "kgsl-3d0.0"),
- FS_PCOM(FS_MDP, "fs_mdp", NULL),
+ FS_PCOM(FS_MDP, "vdd", "mdp.0"),
FS_PCOM(FS_MFC, "fs_mfc", NULL),
FS_PCOM(FS_ROT, "fs_rot", NULL),
FS_PCOM(FS_VFE, "fs_vfe", NULL),