Sanjeev Premi wrote, on 01/07/2011 07:07 AM:
+               if (omap3_has_720mhz()) {
+                       pr_info("Enabled OPP corresponding to 720MHz\n");
+
+                       omap34xx_opp_def_list[INDEX_MPU_720MHZ]
+                               .default_available = true;
+                       omap34xx_opp_def_list[INDEX_IVA_720MHZ]
+                               .default_available = true;
for many reasons, I dont like this indexing - I am ok with most part of the patch otherwise - how about opp_enable(dev, freq) instead?

--
Regards,
Nishanth Menon
--
To unsubscribe from this list: send the line "unsubscribe linux-omap" in
the body of a message to majord...@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to