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 347df59f5d.

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
board-2430sdp.h ARM: OMAP2: Misc updates from linux-omap tree 2008-10-06 15:49:36 +03:00
board-ams-delta.h
board-apollon.h ARM: OMAP2: Use omap_rev() instead of system_rev 2008-12-10 17:36:31 -08:00
board-fsample.h
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
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
board-omap3beagle.h ARM: OMAP3: Add minimal Beagle board support 2008-10-09 17:51:42 +03:00
board-osk.h
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
board-palmtt.h
board-palmz71.h
board-perseus2.h
board-sx1.h
board-voiceblue.h
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
dmtimer.h
dsp_common.h
eac.h
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
gpio.h ARM: OMAP: Fix gpio by switching to generic gpio calls, v2 2009-01-15 13:09:52 +02:00
gpioexpander.h
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
io.h [ARM] Add a common typesafe __io implementation 2008-11-30 11:45:54 +00:00
irda.h
irqs.h ARM: OMAP: Fix define for twl4030 irqs 2008-11-04 13:35:08 -08:00
keypad.h
lcd_mipid.h
led.h
mailbox.h
mcbsp.h [ARM] omap: mcbsp: convert to use fck/ick clocks directly 2009-02-08 17:50:19 +00:00
mcspi.h
memory.h arm: struct device - replace bus_id with dev_name(), dev_set_name() 2009-01-06 10:44:43 -08:00
menelaus.h
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
omap-alsa.h
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
omap730.h
omap1510.h ARM: OMAP2: Misc updates from linux-omap tree 2008-10-06 15:49:36 +03:00
omapfb.h [ARM] omap: fix a pile of issues 2008-12-01 17:40:54 +00:00
onenand.h
param.h
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
timex.h
uncompress.h
usb.h
vmalloc.h