msm: rotator: 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. This removes the need
to specify a unique regulator_name in platform data.

Change-Id: Id16f85866c94b3f3b57aa720cdfbdcf3e2fd241d
Signed-off-by: Matt Wagantall <mattw@codeaurora.org>
diff --git a/arch/arm/mach-msm/devices-msm8x60.c b/arch/arm/mach-msm/devices-msm8x60.c
index 1d6c338..5289fa6 100644
--- a/arch/arm/mach-msm/devices-msm8x60.c
+++ b/arch/arm/mach-msm/devices-msm8x60.c
@@ -1547,7 +1547,6 @@
 	.number_of_clocks = ARRAY_SIZE(rotator_clocks),
 	.hardware_version_number = 0x01010307,
 	.rotator_clks = rotator_clocks,
-	.regulator_name = "fs_rot",
 #ifdef CONFIG_MSM_BUS_SCALING
 	.bus_scale_table = &rotator_bus_scale_pdata,
 #endif
@@ -2659,7 +2658,7 @@
 struct platform_device *msm8660_footswitch[] __initdata = {
 	FS_8X60(FS_IJPEG,  "fs_ijpeg",	NULL,	&ijpeg_fs_data),
 	FS_8X60(FS_MDP,    "vdd",	"mdp.0",	&mdp_fs_data),
-	FS_8X60(FS_ROT,    "fs_rot",	NULL,	&rot_fs_data),
+	FS_8X60(FS_ROT,    "vdd",	"msm_rotator.0", &rot_fs_data),
 	FS_8X60(FS_VED,    "vdd",	"msm_vidc.0",	&ved_fs_data),
 	FS_8X60(FS_VFE,    "fs_vfe",	NULL,	&vfe_fs_data),
 	FS_8X60(FS_VPE,    "fs_vpe",	NULL,	&vpe_fs_data),