On Mon, Mar 08, 2010 at 12:20:06PM +0530, Vaidyanathan Srinivasan wrote: > * Dipankar Sarma <dipan...@in.ibm.com> [2010-03-06 00:48:11]: > > > Shouldn't we create this only for supported platforms ? > > Hi Dipankar, > > Yes we will need a check like > firmware_has_feature(FW_FEATURE_BEST_ENERGY) to avoid sysfs files in > unsupported platforms. I will add that check in the next iteration.
Also, given that this module isn't likely to provide anything on older platforms, it should get loaded only on newer platforms. Thanks Dipankar _______________________________________________ Linuxppc-dev mailing list Linuxppc-dev@lists.ozlabs.org https://lists.ozlabs.org/listinfo/linuxppc-dev