msm: acpuclock-8960: Initialize spinlocks and mutexes

Initialize the l2_lock spinlock to avoid

BUG: spinlock bad magic on CPU#0, kworker/0:1/22

While we're here, initialize the mutex statically and mark the
mutex static.

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
diff --git a/arch/arm/mach-msm/acpuclock-8960.c b/arch/arm/mach-msm/acpuclock-8960.c
index e216b78..bee115f 100644
--- a/arch/arm/mach-msm/acpuclock-8960.c
+++ b/arch/arm/mach-msm/acpuclock-8960.c
@@ -157,8 +157,8 @@
 		},
 };
 
-struct mutex driver_lock;
-static spinlock_t l2_lock;
+static DEFINE_MUTEX(driver_lock);
+static DEFINE_SPINLOCK(l2_lock);
 
 /* Instantaneous bandwidth requests in MB/s. */
 #define BW_MBPS(_bw) \
@@ -961,7 +961,6 @@
 
 void __init msm_acpu_clock_init(struct msm_acpu_clock_platform_data *clkdata)
 {
-	mutex_init(&driver_lock);
 	regulator_init();
 	bus_init();
 	cpufreq_table_init();