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 <[email protected]> > > Cc: Amit Daniel Kachhap <[email protected]> > > Cc: Kukjin Kim <[email protected]> > > Cc: Shawn Guo <[email protected]> > > Cc: Sudeep Holla <[email protected]> > > Signed-off-by: Viresh Kumar <[email protected]>
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 [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/

