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/drivers/char/msm_rotator.c b/drivers/char/msm_rotator.c
index 865fcc2..b457a00 100644
--- a/drivers/char/msm_rotator.c
+++ b/drivers/char/msm_rotator.c
@@ -1562,7 +1562,8 @@
 		}
 	}
 
-	msm_rotator_dev->regulator = regulator_get(NULL, pdata->regulator_name);
+	msm_rotator_dev->regulator = regulator_get(&msm_rotator_dev->pdev->dev,
+						   "vdd");
 	if (IS_ERR(msm_rotator_dev->regulator))
 		msm_rotator_dev->regulator = NULL;