From mboxrd@z Thu Jan 1 00:00:00 1970 From: Bill Gatliff Subject: Re: [PWM PATCH 1/5] API to consolidate PWM devices behind a common user and kernel interface Date: Tue, 02 Feb 2010 22:12:01 -0600 Message-ID: <4B68F791.3040006@billgatliff.com> References: Mime-Version: 1.0 Content-Transfer-Encoding: 7bit Return-path: In-Reply-To: Sender: linux-embedded-owner@vger.kernel.org List-ID: Content-Type: text/plain; charset="us-ascii" To: H Hartley Sweeten Cc: linux-embedded@vger.kernel.org, linux-kernel@vger.kernel.org H Hartley Sweeten wrote: >> + for (wchan = 0; wchan < pwm->nchan; wchan++) { >> + if (pwm->channels[wchan].flags & FLAG_REQUESTED) { >> > > Shouldn't this be: > > & BIT(FLAG_REQUESTED) > > Yes. I've fixed that one several times now! I think I need to review my git-fu, especially rebasing. > Nitpick... Can you move the #ifndef/#define to after the comment? > I did that in all the others, I guess I missed this one... b.g. -- Bill Gatliff bgat@billgatliff.com