Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1030214AbWL3CP4 (ORCPT ); Fri, 29 Dec 2006 21:15:56 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1030218AbWL3CP4 (ORCPT ); Fri, 29 Dec 2006 21:15:56 -0500 Received: from relais.videotron.ca ([24.201.245.36]:42908 "EHLO relais.videotron.ca" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1030214AbWL3CPz (ORCPT ); Fri, 29 Dec 2006 21:15:55 -0500 Date: Fri, 29 Dec 2006 21:15:54 -0500 (EST) From: Nicolas Pitre Subject: Re: [patch 2.6.20-rc1 4/6] PXA GPIO wrappers In-reply-to: <200612281247.36869.david-b@pacbell.net> X-X-Sender: nico@xanadu.home To: David Brownell Cc: pHilipp Zabel , Andrew Morton , Linux Kernel list , Andrew Victor , Bill Gatliff , Haavard Skinnemoen , Kevin Hilman , Russell King , Tony Lindgren Message-id: MIME-version: 1.0 Content-type: TEXT/PLAIN; charset=US-ASCII Content-transfer-encoding: 7BIT References: <200611111541.34699.david-b@pacbell.net> <74d0deb30612212253s7d35cf92q80bbebe9d8ae9476@mail.gmail.com> <200612281247.36869.david-b@pacbell.net> Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 809 Lines: 21 On Thu, 28 Dec 2006, David Brownell wrote: > Phillip: is this the final version, then? It's missing > a signed-off-by line, so I can't do anything appropriate. > > Nico, your signoff here would be a Good Thing too if it > meets your technical review. (My only comment, ISTR, was > that gpio_set_value macro should probably test for whether > the value is a constant too, not just the gpio pin.) I don't think so. Expansion of GPIO_bit(x) is pretty simple even if x is not constant. That probably makes it still less costly than a function call. Nicolas - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/