[U-Boot] [PATCH v6 2/4] gpio: Modify common gpio.h to more closely match Linux

Wolfgang Denk wd at denx.de
Thu Oct 6 23:56:21 CEST 2011


Dear Joe Hershberger,

In message <1313194256-23007-2-git-send-email-joe.hershberger at ni.com> you wrote:
> Change "int gp" to "unsigned gpio"
> Update the 2 existing arm implementations to match the new API
> Remove the gpio_toggle() implementation (never used)
> 
> Signed-off-by: Joe Hershberger <joe.hershberger at ni.com>
> Cc: Joe Hershberger <joe.hershberger at gmail.com>
> Cc: Mike Frysinger <vapier at gentoo.org>
> ---
> Changes for v6:
>  - Linuxize gpio API
> 
>  drivers/gpio/da8xx_gpio.c  |   71 +++++++++-----------
>  drivers/gpio/tegra2_gpio.c |  156 +++++++++++++++++++++----------------------
>  include/asm-generic/gpio.h |   13 ++--
>  3 files changed, 113 insertions(+), 127 deletions(-)

Checkpatch says:

total: 0 errors, 1 warnings, 415 lines checked

Please clean up and resubmit.  Thanks.

Best regards,

Wolfgang Denk

-- 
DENX Software Engineering GmbH,     MD: Wolfgang Denk & Detlev Zundel
HRB 165235 Munich, Office: Kirchenstr.5, D-82194 Groebenzell, Germany
Phone: (+49)-8142-66989-10 Fax: (+49)-8142-66989-80 Email: wd at denx.de
A rolling stone gathers momentum.


More information about the U-Boot mailing list