OMAP3:PM: *_dsp_set_min_opp should use dev instead of dummy dev

Pass dev from the parameter instead of dummy dev. This will allow
to keep history of each user and synchronize the request.

OMAP3:PM: *_dsp_set_min_opp should use dev instead of dummy dev

Pass dev from the parameter instead of dummy dev. This will allow
to keep history of each user and synchronize the request.

Change-Id: I276e78e3fb603bb5591ed9b68eee9da5d4c6dcad
Signed-off-by: Girish S G <girishsg@ti.com>
Acked-by: Omar Ramirez Luna <omar.ramirez@ti.com>
diff --git a/arch/arm/plat-omap/omap-pm-srf.c b/arch/arm/plat-omap/omap-pm-srf.c
index deb4bc8..42d3d5d 100644
--- a/arch/arm/plat-omap/omap-pm-srf.c
+++ b/arch/arm/plat-omap/omap-pm-srf.c
@@ -168,8 +168,6 @@
 	}
 }
 
-static struct device dummy_dsp_dev;
-
 /*
  * DSP Bridge-specific constraints
  */
@@ -202,7 +200,7 @@
 	 * For now pass a dummy_dev struct for SRF to identify the caller.
 	 * Maybe its good to have DSP pass this as an argument
 	 */
-	resource_request("vdd1_opp", &dummy_dsp_dev, opp_id);
+	resource_request("vdd1_opp", dev, opp_id);
 	return;
 }