> -----Original Message----- > From: Kevin Hilman [mailto:[email protected]] > Sent: Friday, March 11, 2011 3:43 AM > To: Santosh Shilimkar > Cc: [email protected]; [email protected] > Subject: Re: [PATCH 1/3] omap2plus: clock: Add an alias cpu_ck to be > used in common cpufreq driver > > Santosh Shilimkar <[email protected]> writes: > > > Add an alias clock node for cpu clock control on all OMAP2PLUS > devices. > > The intention is avoid cpu_is_xxxx() checks in the common cpufreq > driver. > > > > Signed-off-by: Santosh Shilimkar <[email protected]> > > Rather than having hard-coded clkdev nodes, Since CPUfreq will be > the > only user of these clocks, it might make sense to just use cpu_is_* > in the CPUfreq init and do clk_add_alias(). >
Since we are ok to have cpu_is_*() in CPUfreq init, we don't even need to clk_add_alias(). We just the correct clock node handle based on SOC. Regards, Santosh -- To unsubscribe from this list: send the line "unsubscribe linux-omap" in the body of a message to [email protected] More majordomo info at http://vger.kernel.org/majordomo-info.html
