On 20 September 2013 20:46, Srivatsa S. Bhat <srivatsa.b...@linux.vnet.ibm.com> wrote: > I think show() and store() also suffer > from a similar fate. So do you think we need to add these checks there as > well? > I'm not sure, since I can't think of a situation in which show() or store() > can be invoked before the cpufreq-driver is registered.. or, is such a > situation possible with cpufreq_disabled()?
cpufreq_disabled() is supposed to be called at boot time, so that cpufreq_core_init() fails.. and so show/store wouldn't exist without a driver.. -- 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/