On Monday, May 19, 2014 11:13:24 PM Rafael J. Wysocki wrote: > On Monday, May 19, 2014 11:59:11 AM Viresh Kumar wrote: > > All drivers expecting CPU's OPPs from device tree initialize OPP table using > > of_init_opp_table() and there is nothing driver specific in that. They all > > do it > > in the same way adding to code redundancy. > > > > It would be better if we can get rid of code redundancy by initializing CPU > > OPPs > > from core code for all CPUs that have a "operating-points" property defined > > in > > their node. > > > > This patch initializes OPPs as soon as CPU device is registered in > > register_cpu(). > > > > Cc: Greg Kroah-Hartman <gre...@linuxfoundation.org> > > Cc: Amit Daniel Kachhap <amit.dan...@samsung.com> > > Cc: Kukjin Kim <kgene....@samsung.com> > > Cc: Shawn Guo <shawn....@linaro.org> > > Cc: Sudeep Holla <sudeep.ho...@arm.com> > > Signed-off-by: Viresh Kumar <viresh.ku...@linaro.org>
Do patches [2-5/5] depend on this one BTW? -- I speak only for myself. Rafael J. Wysocki, Intel Open Source Technology Center. -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majord...@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/