linux/arch/arm/plat-omap/include/mach
Paul Walmsley fecb494bee [ARM] OMAP: Fix sparse, checkpatch warnings in OMAP2/3 PRCM/PM code
Fix sparse & checkpatch warnings in OMAP2/3 PRCM & PM code.  This mostly
consists of:

- converting pointer comparisons to integers in form similar to
  (ptr == 0) to the standard idiom (!ptr)

- labeling a few non-static private functions as static

- adding prototypes for *_init() functions in the appropriate header
  files, and getting rid of the corresponding open-coded extern
  prototypes in other C files

- renaming the variable 'sclk' in mach-omap2/clock.c:omap2_get_apll_clkin
  to avoid shadowing an earlier declaration

Clean up checkpatch issues.  This mostly involves:

- converting some asm/ includes to linux/ includes

- cleaning up some whitespace

- getting rid of braces for conditionals with single following statements

Also take care of a few odds and ends, including:

- getting rid of unlikely() and likely() - none of this code is particularly
  fast-path code, so the performance impact seems slim; and some of those
  likely() and unlikely() indicators are probably not as accurate as the
  ARM's branch predictor

- removing some superfluous casts

linux-omap source commit is 347df59f5d20fdf905afbc26b1328b0e28a8a01b.

Signed-off-by: Paul Walmsley <paul@pwsan.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
2009-02-08 17:50:24 +00:00
..
blizzard.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-2430sdp.h ARM: OMAP2: Misc updates from linux-omap tree 2008-10-06 15:49:36 +03:00
board-ams-delta.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-apollon.h ARM: OMAP2: Use omap_rev() instead of system_rev 2008-12-10 17:36:31 -08:00
board-fsample.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-h2.h omap mmc: Add better MMC low-level init 2008-12-10 17:37:16 -08:00
board-h3.h ARM: OMAP: Fix compile for h3 MMC 2009-01-15 15:06:59 +02:00
board-h4.h ARM: OMAP2: Misc updates from linux-omap tree 2008-10-06 15:49:36 +03:00
board-innovator.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-ldp.h ARM: OMAP3: LDP: Add Ethernet device support to make ldp boot succeess 2008-12-10 17:36:53 -08:00
board-nokia.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-omap3beagle.h ARM: OMAP3: Add minimal Beagle board support 2008-10-09 17:51:42 +03:00
board-osk.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-overo.h ARM: OMAP3: Add support for the Gumstix Overo board (rev 3) 2008-10-09 17:51:43 +03:00
board-palmte.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-palmtt.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-palmz71.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-perseus2.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-sx1.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board-voiceblue.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
board.h omap mmc: Add better MMC low-level init 2008-12-10 17:37:16 -08:00
clkdev.h [ARM] omap: convert OMAP1 to use clkdev 2009-02-08 17:50:13 +00:00
clock.h [ARM] OMAP: Fix sparse, checkpatch warnings in OMAP2/3 PRCM/PM code 2009-02-08 17:50:24 +00:00
clockdomain.h ARM: OMAP2: Clockdomain: Add base OMAP2/3 clockdomain code 2008-08-19 11:08:43 +03:00
common.h ARM: OMAP2: Use omap_globals for CPU detection for multi-omap 2008-10-06 15:49:16 +03:00
control.h omap mmc: Add low-level initialization for hsmmc controller 2008-12-10 17:37:17 -08:00
cpu.h ARM: OMAP: Fix omap34xx revision detection for ES3.1 2009-01-29 08:57:16 -08:00
debug-macro.S ARM: OMAP3: Add minimal omap3430 support 2008-10-09 17:51:41 +03:00
dma.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
dmtimer.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
dsp_common.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
eac.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
entry-macro.S ARM: OMAP: Fix get_irqnr_and_base to clear spurious interrupt bits 2008-11-04 13:35:07 -08:00
fpga.h [ARM] omap: make sure virtual mmio addresses are __iomem pointer-like 2008-09-05 17:02:32 +01:00
gpio-switch.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
gpio.h ARM: OMAP: Fix gpio by switching to generic gpio calls, v2 2009-01-15 13:09:52 +02:00
gpioexpander.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
gpmc.h ARM: OMAP3: Add minimal omap3430 support 2008-10-09 17:51:41 +03:00
hardware.h ARM: OMAP3: Add basic board support for OMAP LDP 2008-10-10 12:06:43 +03:00
hwa742.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
io.h [ARM] Add a common typesafe __io implementation 2008-11-30 11:45:54 +00:00
irda.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
irqs.h ARM: OMAP: Fix define for twl4030 irqs 2008-11-04 13:35:08 -08:00
keypad.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
lcd_mipid.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
led.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mailbox.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mcbsp.h [ARM] omap: mcbsp: convert to use fck/ick clocks directly 2009-02-08 17:50:19 +00:00
mcspi.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
memory.h arm: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:43 -08:00
menelaus.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
mmc.h ARM: OMAP: Fix hsmmc init, v2 2009-01-29 08:57:16 -08:00
mtd-xip.h ALSA: Correct Vladimir Barinov's e-mail address 2008-10-10 13:41:45 +02:00
mux.h ARM: OMAP3: Pin multiplexing updates for 24xx and 34xx 2008-12-10 17:36:54 -08:00
nand.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
omap16xx.h ARM: OMAP2: Misc updates from linux-omap tree 2008-10-06 15:49:36 +03:00
omap24xx.h ARM: OMAP3: Add minimal omap3430 support 2008-10-09 17:51:41 +03:00
omap34xx.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
omap730.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
omap1510.h ARM: OMAP2: Misc updates from linux-omap tree 2008-10-06 15:49:36 +03:00
omap-alsa.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
omapfb.h [ARM] omap: fix a pile of issues 2008-12-01 17:40:54 +00:00
onenand.h Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-08-12 11:28:00 +01:00
param.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
pm.h [ARM] omap: remove clk_deny_idle and clk_allow_idle 2009-02-08 17:46:15 +00:00
powerdomain.h [ARM] OMAP: Fix sparse, checkpatch warnings in OMAP2/3 PRCM/PM code 2009-02-08 17:50:24 +00:00
prcm.h [ARM] OMAP: Fix sparse, checkpatch warnings in OMAP2/3 PRCM/PM code 2009-02-08 17:50:24 +00:00
sdrc.h ARM: OMAP3: Add minimal omap3430 support 2008-10-09 17:51:41 +03:00
serial.h ARM: OMAP2 Provide function to enable/disable uart clocks 2008-10-06 15:49:15 +03:00
sram.h ARM: OMAP3: Add minimal omap3430 support 2008-10-09 17:51:41 +03:00
system.h [ARM] OMAP: Fix sparse, checkpatch warnings in OMAP2/3 PRCM/PM code 2009-02-08 17:50:24 +00:00
tc.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
timex.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
uncompress.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
usb.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00
vmalloc.h [ARM] Move include/asm-arm/arch-* to arch/arm/*/include/mach 2008-08-07 09:55:48 +01:00