]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commit
ARM: OMAP: HSMMC: General code cleanup and cosmetic fixes
authorCarlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
Fri, 18 Apr 2008 20:29:00 +0000 (16:29 -0400)
committerTony Lindgren <tony@atomide.com>
Mon, 21 Apr 2008 17:54:38 +0000 (10:54 -0700)
commit247b3c1e559cd91ad5d5ca5c3960254dc36787f1
treeb98f3b01cdc3ea11233143a77d98d98ad0b63e0d
parente015fc7dba8f5002daa0982eb81d33cc72e68e95
ARM: OMAP: HSMMC: General code cleanup and cosmetic fixes

This patch makes the following general code cleanup and cosmetic fixes:

- Use #include <linux/io.h> instead of <asm/io.h>, according to warning
reported by scripts/checkpatch.pl on arch/arm/mach-omap2/board-sdp-hsmmc.c

- Use if (power_on) instead of if (power_on == 1).

- Use if (ret) instead of if (ret != 0).

- Add an extra-line to separate labels.

Signed-off-by: Carlos Eduardo Aguiar <carlos.aguiar@indt.org.br>
Acked-by: Anderson Lizardo <anderson.lizardo@indt.org.br>
Acked-by: Eduardo Valentin <eduardo.valentin@indt.org.br>
Signed-off-by: Tony Lindgren <tony@atomide.com>
arch/arm/mach-omap2/board-sdp-hsmmc.c