Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1422750AbWLUGLf (ORCPT ); Thu, 21 Dec 2006 01:11:35 -0500 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1422751AbWLUGLe (ORCPT ); Thu, 21 Dec 2006 01:11:34 -0500 Received: from smtp.osdl.org ([65.172.181.25]:41423 "EHLO smtp.osdl.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1422750AbWLUGLe (ORCPT ); Thu, 21 Dec 2006 01:11:34 -0500 Date: Wed, 20 Dec 2006 22:10:32 -0800 From: Andrew Morton To: David Brownell Cc: Linux Kernel list , Andrew Victor , Bill Gatliff , Haavard Skinnemoen , jamey.hicks@hp.com, Kevin Hilman , Nicolas Pitre , Russell King , Tony Lindgren , pHilipp Zabel Subject: Re: [patch 2.6.20-rc1 3/6] AT91 GPIO wrappers Message-Id: <20061220221032.2f30dd72.akpm@osdl.org> In-Reply-To: <200612201311.20517.david-b@pacbell.net> References: <200611111541.34699.david-b@pacbell.net> <200612201304.03912.david-b@pacbell.net> <200612201311.20517.david-b@pacbell.net> X-Mailer: Sylpheed version 2.2.7 (GTK+ 2.8.17; x86_64-unknown-linux-gnu) Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 778 Lines: 27 On Wed, 20 Dec 2006 13:11:19 -0800 David Brownell wrote: > +static inline int gpio_get_value(unsigned gpio) > + { return at91_get_gpio_value(gpio); } > + > +static inline void gpio_set_value(unsigned gpio, int value) > + { (void) at91_set_gpio_value(gpio, value); } whaa? Where'd we pull that coding style from? Please, static inline int gpio_get_value(unsigned gpio) { return at91_get_gpio_value(gpio); } static inline void gpio_set_value(unsigned gpio, int value) { at91_set_gpio_value(gpio, value); } - 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/