On Friday, September 17, 2010, Nishanth Menon wrote:Mark Brown had written, on 09/17/2010 10:36 AM, the following:On Thu, Sep 16, 2010 at 08:29:33PM -0500, Nishanth Menon wrote:;).. The opp is enabled or disabled if it is populated, it is implicit as being available but not enabled- how about active? this would change the opp_enable/disable functions to opp_activate, opp_deactivate..
+struct opp_def {It might be clearer to use some term other than enabled in the code -
+ unsigned long freq;
+ unsigned long u_volt;
+
+ bool enabled;
+};
when reading I wasn't immediately sure if enabled meant that it was
available to be selected or if it was the active operating point. How
about 'allowed' (though I'm not 100% happy with that)?
Would that mean that "active" is the one currently in use?