]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
[PATCH] GPIO API: PXA wrapper cleanup
authorPhilipp Zabel <philipp.zabel@gmail.com>
Tue, 20 Feb 2007 21:58:15 +0000 (13:58 -0800)
committerLinus Torvalds <torvalds@woody.linux-foundation.org>
Wed, 21 Feb 2007 01:10:16 +0000 (17:10 -0800)
commit3deac046e2883686a732960050ab74fca0db11fa
treede8e8b19148d201147f8be4084efba156f9e6709
parent5d4675a811fb71fd922109d7ebae3f987401ace1
[PATCH] GPIO API: PXA wrapper cleanup

Based on the discussion last december (http://lkml.org/lkml/2006/12/20/242),
this patch:

  - moves the PXA_LAST_GPIO check into pxa_gpio_mode
  - fixes comment and includes in gpio.h
  - replaces the gpio_set/get_value macros with inline
    functions and adds a non-inline version to avoid
    code explosion when gpio is not a constant.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: David Brownell <dbrownell@users.sourceforge.net>
Signed-off-by: Nicolas Pitre <nico@cam.org>
Cc: Russell King <rmk@arm.linux.org.uk>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
arch/arm/mach-pxa/generic.c
include/asm-arm/arch-pxa/gpio.h
include/asm-arm/arch-pxa/hardware.h