From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754938Ab0IQQtS (ORCPT ); Fri, 17 Sep 2010 12:49:18 -0400 Received: from smtp.nokia.com ([147.243.1.47]:62983 "EHLO mgw-sa01.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752040Ab0IQQtP (ORCPT ); Fri, 17 Sep 2010 12:49:15 -0400 Date: Fri, 17 Sep 2010 19:45:43 +0300 From: Phil Carmody To: ext Mark Brown Cc: Nishanth Menon , linux-arm , lkml , linux-doc , "H. Peter Anvin" , Jesse Barnes , Madhusudhan Chikkature Rajashekar , Sergio Alberto Aguirre Rodriguez , Andi Kleen , linux-pm , Matthew Garrett , Len Brown , "Valentin Eduardo (Nokia-MS/Helsinki)" , linux-omap , Thara Gopinath , Linus Walleij , Roberto Granados Dorado , "Martin K. Petersen" , Romit Dasgupta , "Kristo Tero (Nokia-MS/Tampere)" , Andrew Morton , Sanjeev Premi Subject: Re: [linux-pm] [PATCH] opp: introduce library for device-specific OPPs Message-ID: <20100917164543.GI20325@esdhcp04044.research.nokia.com> References: <1284686973-13993-1-git-send-email-nm@ti.com> <20100917153643.GC29739@sirena.org.uk> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20100917153643.GC29739@sirena.org.uk> User-Agent: Mutt/1.5.18 (2008-05-17) X-Nokia-AV: Clean Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 17/09/10 17:36 +0200, ext Mark Brown wrote: > On Thu, Sep 16, 2010 at 08:29:33PM -0500, Nishanth Menon wrote: > > > +struct opp_def { > > + unsigned long freq; > > + unsigned long u_volt; > > + > > + bool enabled; > > +}; > > It might be clearer to use some term other than enabled in the code - > 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)? I think your query contains its own answer. Phil