]> git.kernelconcepts.de Git - karo-tx-uboot.git/commit
gpio: Replace ARM gpio.h with the common API in include/asm-generic
authorJoe Hershberger <joe.hershberger@ni.com>
Fri, 11 Nov 2011 21:55:36 +0000 (15:55 -0600)
committerKim Phillips <kim.phillips@freescale.com>
Tue, 10 Jan 2012 02:10:32 +0000 (20:10 -0600)
commit365d607033b8fcb0a8c27aabcb4bb05fb3b64465
tree8530d4816c7014381fe5d84a7ab89b923115ecfe
parent5f533aeb5117ebe4ef1d10b5cae326334965035d
gpio: Replace ARM gpio.h with the common API in include/asm-generic

ARM boards should use the generic GPIO API
This means changing gpio to unsigned type
Remove the unused gpio_toggle() function which is not part of the API
Comment that free should not modify pin state

Signed-off-by: Joe Hershberger <joe.hershberger@ni.com>
Cc: Joe Hershberger <joe.hershberger@gmail.com>
fixed merge conflict in da8xx_gpio.c, tegra2_gpio.c, and
extended to the new mxs_gpio.c.

Signed-off-by: Kim Phillips <kim.phillips@freescale.com>
Cc: Albert ARIBAUD <albert.u.boot@aribaud.net>
arch/arm/cpu/armv7/omap-common/gpio.c
arch/arm/include/asm/gpio.h
drivers/gpio/da8xx_gpio.c
drivers/gpio/mvgpio.c
drivers/gpio/mxc_gpio.c
drivers/gpio/mxs_gpio.c
drivers/gpio/s5p_gpio.c
drivers/gpio/tegra2_gpio.c