1
linux/arch/arm/mach-omap2
Julia Lawall 0e6d8cad44 arch/arm/mach-omap2/dma.c: Convert IS_ERR result to PTR_ERR
This code elsewhere returns a negative constant to an indicate an error,
while IS_ERR returns the result of a >= operation.

The semantic patch that fixes this problem is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
expression x;
@@

 if (...) { ...
- return IS_ERR(x);
+ return PTR_ERR(x);
}
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Acked-by: Jarkko Nikula <jhnikula@gmail.com>
Signed-off-by: Tony Lindgren <tony@atomide.com>
2011-01-27 16:25:35 -08:00
..
include/mach omap2+: Fix unused variable warning for omap_irq_base 2011-01-27 15:33:47 -08:00
board-2430sdp.c OMAP2+: io: split omap2_init_common_hw() 2010-12-21 19:55:11 -07:00
board-3430sdp.c OMAP: use generic DPI panel driver in board files 2011-01-10 11:09:53 +02:00
board-3630sdp.c OMAP3: Enable display on ZOOM2/3/3630SDP 2011-01-10 11:09:53 +02:00
board-4430sdp.c omap4: Fix ULPI PHY init for ES1.0 SDP 2011-01-13 08:01:41 -08:00
board-am3517crane.c arm: omap: craneboard: Add USB EHCI support 2010-12-23 12:17:48 -08:00
board-am3517evm.c OMAP: use generic DPI panel driver in board files 2011-01-10 11:09:53 +02:00
board-apollon.c OMAP2+: io: split omap2_init_common_hw() 2010-12-21 19:55:11 -07:00
board-cm-t35.c OMAP: use generic DPI panel driver in board files 2011-01-10 11:09:53 +02:00
board-cm-t3517.c arm: omap3: cm-t3517: minor comment fix 2011-01-19 14:13:48 -08:00
board-devkit8000.c OMAP3: Devkit8000: Fix tps65930 pullup/pulldown configuration 2011-01-19 14:20:47 -08:00
board-flash.c OMAP2plus: Fix static function warnings 2010-10-08 10:02:49 -07:00
board-flash.h OMAP2plus: Fix static function warnings 2010-10-08 10:02:49 -07:00
board-generic.c OMAP2+: io: split omap2_init_common_hw() 2010-12-21 19:55:11 -07:00
board-h4.c Merge branch 'integration-2.6.38-for-tony' of git://git.pwsan.com/linux-2.6 into omap-for-linus 2010-12-22 11:32:24 -08:00
board-igep0020.c Merge branch 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 2011-01-14 13:13:07 -08:00
board-igep0030.c omap3: igep3: Add omap_reserve functionality 2011-01-11 15:28:08 -08:00
board-ldp.c OMAP2+: io: split omap2_init_common_hw() 2010-12-21 19:55:11 -07:00
board-n8x0.c Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 2011-01-07 13:16:28 -08:00
board-omap3beagle.c Merge branch 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 2011-01-14 13:13:07 -08:00
board-omap3evm.c OMAP: use generic DPI panel driver in board files 2011-01-10 11:09:53 +02:00
board-omap3logic.c OMAP2+: io: split omap2_init_common_hw() 2010-12-21 19:55:11 -07:00
board-omap3pandora.c Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 2011-01-06 19:13:58 -08:00
board-omap3stalker.c OMAP: use generic DPI panel driver in board files 2011-01-10 11:09:53 +02:00
board-omap3touchbook.c OMAP2+: io: split omap2_init_common_hw() 2010-12-21 19:55:11 -07:00
board-omap4panda.c Merge branch 'ehci-omap-clock' into omap-fixes 2011-01-10 14:23:41 -08:00
board-overo.c OMAP2+: io: split omap2_init_common_hw() 2010-12-21 19:55:11 -07:00
board-rm680.c OMAP2+: io: split omap2_init_common_hw() 2010-12-21 19:55:11 -07:00
board-rx51-peripherals.c omap: rx51: Add vdda_dac supply for tvout 2010-12-22 11:06:24 -08:00
board-rx51-video.c omap: rx51: Remove tvout code that plays with gpio 40 2010-12-22 11:06:24 -08:00
board-rx51.c OMAP2+: io: split omap2_init_common_hw() 2010-12-21 19:55:11 -07:00
board-zoom-debugboard.c OMAP2plus: Fix static function warnings 2010-10-08 10:02:49 -07:00
board-zoom-display.c OMAP3: ZOOM2/3/3630SDP: Add display board file for OMAP3 2011-01-10 10:54:20 +02:00
board-zoom-peripherals.c Merge branch 'omap-fixes-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 2011-01-14 13:13:07 -08:00
board-zoom.c OMAP3: Enable display on ZOOM2/3/3630SDP 2011-01-10 11:09:53 +02:00
clkt2xxx_apll.c OMAP2/3: PRM/CM: prefix OMAP2 PRM/CM functions with "omap2_" 2010-12-21 21:05:14 -07:00
clkt2xxx_dpllcore.c OMAP2/3: PRM/CM: prefix OMAP2 PRM/CM functions with "omap2_" 2010-12-21 21:05:14 -07:00
clkt2xxx_osc.c OMAP2/3: PRCM: split OMAP2/3-specific PRCM code into OMAP2/3-specific files 2010-12-21 20:01:55 -07:00
clkt2xxx_sys.c OMAP2/3: PRCM: split OMAP2/3-specific PRCM code into OMAP2/3-specific files 2010-12-21 20:01:55 -07:00
clkt2xxx_virt_prcm_set.c OMAP2/3: PRM/CM: prefix OMAP2 PRM/CM functions with "omap2_" 2010-12-21 21:05:14 -07:00
clkt34xx_dpll3m2.c
clkt_clksel.c
clkt_dpll.c OMAP2/3: PRCM: split OMAP2/3-specific PRCM code into OMAP2/3-specific files 2010-12-21 20:01:55 -07:00
clock2xxx.c
clock2xxx.h
clock3xxx_data.c omap3: clocks: Fix build error 'CK_3430ES2' undeclared here 2011-01-10 14:23:01 -08:00
clock3xxx.c OMAP3: clock: fix incorrect rate display when switching MPU rate at boot 2010-12-21 21:08:14 -07:00
clock3xxx.h
clock34xx.c OMAP2/3: PRCM: split OMAP2/3-specific PRCM code into OMAP2/3-specific files 2010-12-21 20:01:55 -07:00
clock34xx.h
clock36xx.c
clock36xx.h
clock44xx_data.c OMAP: PRCM: remove duplicated headers 2011-01-18 12:36:53 -07:00
clock44xx.h
clock2420_data.c Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 2011-01-07 13:16:28 -08:00
clock2430_data.c Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 2011-01-07 13:16:28 -08:00
clock2430.c OMAP2/3: PRCM: split OMAP2/3-specific PRCM code into OMAP2/3-specific files 2010-12-21 20:01:55 -07:00
clock3517.c OMAP2/3: PRCM: split OMAP2/3-specific PRCM code into OMAP2/3-specific files 2010-12-21 20:01:55 -07:00
clock3517.h
clock_common_data.c
clock.c OMAP2+: clockdomain: move header file from plat-omap to mach-omap2 2010-12-21 21:05:15 -07:00
clock.h OMAP: clock: fix configuration of J-Type DPLLs to work for OMAP3 and OMAP4 2010-12-21 21:31:43 -07:00
clockdomain.c OMAP4: clockdomain: bypass unimplemented wake-up dependency functions on OMAP4 2011-01-18 12:36:53 -07:00
clockdomain.h omap2plus: clockdomain: Trivial fix for build break because of clktrctrl_mask 2011-01-07 13:33:08 -08:00
clockdomains2xxx_3xxx_data.c OMAP2+: clockdomain: move header file from plat-omap to mach-omap2 2010-12-21 21:05:15 -07:00
clockdomains44xx_data.c OMAP: PRCM: remove duplicated headers 2011-01-18 12:36:53 -07:00
cm1_44xx.h OMAP4: CM instances: add clockdomain register offsets 2010-12-21 21:05:15 -07:00
cm2_44xx.h OMAP4: CM instances: add clockdomain register offsets 2010-12-21 21:05:15 -07:00
cm2xxx_3xxx.c OMAP2/3: clockdomain: remove unneeded .clkstctrl_reg, remove some direct CM register accesses 2010-12-21 21:05:15 -07:00
cm2xxx_3xxx.h OMAP2/3: clockdomain: remove unneeded .clkstctrl_reg, remove some direct CM register accesses 2010-12-21 21:05:15 -07:00
cm44xx.c OMAP4: PRCM: add OMAP4-specific accessor/mutator functions 2010-12-21 21:05:14 -07:00
cm44xx.h OMAP2/3: PRCM: split OMAP2/3-specific PRCM code into OMAP2/3-specific files 2010-12-21 20:01:55 -07:00
cm-regbits-24xx.h OMAP2/3: clockdomain: remove unneeded .clkstctrl_reg, remove some direct CM register accesses 2010-12-21 21:05:15 -07:00
cm-regbits-34xx.h OMAP4: clockdomains: add OMAP4 PRCM data and OMAP4 support 2010-12-21 21:05:15 -07:00
cm-regbits-44xx.h OMAP2/3: PRCM: split OMAP2/3-specific PRCM code into OMAP2/3-specific files 2010-12-21 20:01:55 -07:00
cm.h OMAP2/3: PRCM: split OMAP2/3-specific PRCM code into OMAP2/3-specific files 2010-12-21 20:01:55 -07:00
cminst44xx.c OMAP4: clockdomains: add OMAP4 PRCM data and OMAP4 support 2010-12-21 21:05:15 -07:00
cminst44xx.h OMAP4: clockdomains: add OMAP4 PRCM data and OMAP4 support 2010-12-21 21:05:15 -07:00
common.c OMAP: control: move plat-omap/control.h to mach-omap2/control.h 2010-10-08 11:40:20 -06:00
control.c OMAP3: control/PM: move padconf save code to mach-omap2/control.c 2010-12-21 21:05:16 -07:00
control.h Merge branch 'pm-sr' of ssh://master.kernel.org/pub/scm/linux/kernel/git/khilman/linux-omap-pm into omap-for-linus 2010-12-22 15:08:05 -08:00
cpuidle34xx.c Merge branch 'idle-release' of git://git.kernel.org/pub/scm/linux/kernel/git/lenb/linux-idle-2.6 2011-01-13 20:15:18 -08:00
devices.c omap2+: wdt: trivial sparse fixes 2011-01-06 19:58:28 -08:00
dma.c arch/arm/mach-omap2/dma.c: Convert IS_ERR result to PTR_ERR 2011-01-27 16:25:35 -08:00
dpll3xxx.c Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 2011-01-06 19:13:58 -08:00
dsp.c OMAP2/3: PRM/CM: prefix OMAP2 PRM/CM functions with "omap2_" 2010-12-21 21:05:14 -07:00
emu.c
gpio.c OMAP2+: GPIO: device registration 2010-12-07 16:26:57 -08:00
gpmc-nand.c OMAP2/3: GPMC: put sync_clk value in picoseconds instead of nanoseconds 2010-12-21 12:05:25 -08:00
gpmc-onenand.c OMAP2/3: OneNAND: add 104MHz support 2010-12-21 12:05:34 -08:00
gpmc-smc91x.c
gpmc-smsc911x.c
gpmc.c OMAP2/3: GPMC: put sync_clk value in picoseconds instead of nanoseconds 2010-12-21 12:05:25 -08:00
hsmmc.c OMAP: control: move plat-omap/control.h to mach-omap2/control.h 2010-10-08 11:40:20 -06:00
hsmmc.h Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 2010-10-25 13:46:56 -07:00
i2c.c
id.c OMAP: control: move plat-omap/control.h to mach-omap2/control.h 2010-10-08 11:40:20 -06:00
io.c omap2+: Fix unused variable warning for omap_irq_base 2011-01-27 15:33:47 -08:00
io.h OMAP: plat-omap: Fix static function warnings 2010-10-08 10:12:38 -07:00
iommu2.c
irq.c ARM: omap2: irq_data conversion. 2011-01-13 17:18:52 +01:00
Kconfig Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 2011-01-07 13:16:28 -08:00
mailbox.c OMAP: mailbox: fix detection for previously supported chips 2010-12-02 05:43:16 -06:00
Makefile Merge branch 'for-paul-38-rebased' of git://gitorious.org/linux-omap-dss2/linux 2011-01-11 12:01:14 +09:00
Makefile.boot
mcbsp.c OMAP: McBSP: Remove null omap44xx ops comment 2010-10-08 11:40:21 -06:00
mux34xx.c omap3|4: mux: make local structures static 2011-01-06 19:58:28 -08:00
mux34xx.h
mux44xx.c omap3|4: mux: make local structures static 2011-01-06 19:58:28 -08:00
mux44xx.h OMAP4: mux: Add CBS package data for OMAP4430 ES2 2010-11-17 12:01:52 +01:00
mux2420.c OMAP: mux: Add __func__ macro to pr_xxx macros 2010-11-17 12:01:54 +01:00
mux2420.h
mux2430.c OMAP: mux: Add __func__ macro to pr_xxx macros 2010-11-17 12:01:54 +01:00
mux2430.h
mux.c arm: omap2: mux: fix compile warning 2011-01-27 16:22:55 -08:00
mux.h omap2+: Add struct omap_board_data and use it for platform level serial init 2010-12-22 18:42:35 -08:00
omap4-common.c Merge branch 'omap-for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/tmlind/linux-omap-2.6 2011-01-06 19:13:58 -08:00
omap44xx-smc.S
omap_hwmod_3xxx_data.c OMAP3: PM: Adding smartreflex hwmod data 2010-12-22 14:31:38 -08:00
omap_hwmod_44xx_data.c OMAP4: hwmod data: Fix alignment and end of line in structurefields 2010-12-24 09:39:27 -08:00
omap_hwmod_2420_data.c OMAP2+: wd_timer: disable on boot via hwmod postsetup mechanism 2010-12-21 19:57:40 -07:00
omap_hwmod_2430_data.c OMAP2430: hwmod data: Use common dev_attr for i2c1 and i2c2 2010-12-21 21:31:00 -07:00
omap_hwmod_common_data.c
omap_hwmod_common_data.h
omap_hwmod.c omap2+: Allow hwmod state changes to mux pads based on the state changes 2010-12-22 18:42:35 -08:00
omap_opp_data.h omap: opp: add OMAP3 OPP table data and common init 2010-12-21 14:30:40 -08:00
omap_phy_internal.c usb: otg: Adding twl6030-usb transceiver driver for OMAP4430 2010-12-10 14:43:51 +02:00
omap_twl.c OMAP2+: TWL: include pm header for init protos 2011-01-07 13:33:07 -08:00
omap-headsmp.S
omap-hotplug.c ARM: CPU hotplug: remove bug checks in platform_cpu_die() 2010-12-20 15:09:10 +00:00
omap-iommu.c OMAP: iommu: make iva2 iommu selectable 2010-12-15 11:33:31 -06:00
omap-smp.c Merge branch 'misc' into devel 2011-01-06 22:32:52 +00:00
opp2xxx.h
opp3xxx_data.c omap: opp: add OMAP3 OPP table data and common init 2010-12-21 14:30:40 -08:00
opp4xxx_data.c omap4: opp: add OPP table data 2010-12-21 14:30:40 -08:00
opp2420_data.c
opp2430_data.c
opp.c omap: opp: add OMAP3 OPP table data and common init 2010-12-21 14:30:40 -08:00
pm24xx.c console: rename acquire/release_console_sem() to console_lock/unlock() 2011-01-26 10:50:06 +10:00
pm34xx.c console: rename acquire/release_console_sem() to console_lock/unlock() 2011-01-26 10:50:06 +10:00
pm44xx.c Merge branch 'for-next' of git://git.kernel.org/pub/scm/linux/kernel/git/jikos/trivial 2011-01-13 10:05:56 -08:00
pm_bus.c omap2+: pm_bus: make functions used as pointers as static 2011-01-07 13:33:08 -08:00
pm-debug.c OMAP: PM noop: implement context loss count for non-omap_devices 2010-12-21 21:31:55 -07:00
pm.c OMAP4: PM: Program correct init voltages for scalable VDDs 2010-12-22 14:31:48 -08:00
pm.h OMAP4: Register voltage PMIC parameters with the voltage layer 2010-12-22 14:31:45 -08:00
powerdomain2xxx_3xxx.c OMAP: PRCM: remove duplicated headers 2011-01-18 12:36:53 -07:00
powerdomain44xx.c OMAP2+: powerdomain: move header file from plat-omap to mach-omap2 2010-12-21 21:05:16 -07:00
powerdomain-common.c OMAP2+: powerdomain: move header file from plat-omap to mach-omap2 2010-12-21 21:05:16 -07:00
powerdomain.c OMAP2+: powerdomain: add API to get context loss count 2010-12-21 21:31:55 -07:00
powerdomain.h OMAP2+: powerdomain: add API to get context loss count 2010-12-21 21:31:55 -07:00
powerdomains2xxx_3xxx_data.c OMAP2+: powerdomain: move header file from plat-omap to mach-omap2 2010-12-21 21:05:16 -07:00
powerdomains2xxx_3xxx_data.h OMAP2+: powerdomain: move header file from plat-omap to mach-omap2 2010-12-21 21:05:16 -07:00
powerdomains2xxx_data.c OMAP2+: powerdomain: move header file from plat-omap to mach-omap2 2010-12-21 21:05:16 -07:00
powerdomains3xxx_data.c OMAP2+: powerdomain: move header file from plat-omap to mach-omap2 2010-12-21 21:05:16 -07:00
powerdomains44xx_data.c OMAP4: powerdomain: Remove L3INIT_PD OFF state 2010-12-21 22:37:28 -07:00
prcm44xx.h OMAP4: PRCM: add OMAP4-specific accessor/mutator functions 2010-12-21 21:05:14 -07:00
prcm_mpu44xx.c OMAP4: PRCM: add OMAP4-specific accessor/mutator functions 2010-12-21 21:05:14 -07:00
prcm_mpu44xx.h OMAP4: CM instances: add clockdomain register offsets 2010-12-21 21:05:15 -07:00
prcm-common.h OMAP2/3: PRCM: split OMAP2/3-specific PRCM code into OMAP2/3-specific files 2010-12-21 20:01:55 -07:00
prcm.c OMAP3: SDRC: Add comments on Errata i520 for Global SW reset 2010-12-22 09:53:26 -07:00
prm2xxx_3xxx.c OMAP2/3: PRM/CM: prefix OMAP2 PRM/CM functions with "omap2_" 2010-12-21 21:05:14 -07:00
prm2xxx_3xxx.h omap2plus: prm: Trvial build break fix for undefined reference to 'omap2_prm_read_mod_reg' 2011-01-07 13:33:10 -08:00
prm44xx.c OMAP4: PRCM: move global reset function for OMAP4 to an OMAP4-specific file 2010-12-21 21:05:14 -07:00
prm44xx.h OMAP4: CM instances: add clockdomain register offsets 2010-12-21 21:05:15 -07:00
prm-regbits-24xx.h OMAP2/3: PRCM: split OMAP2/3-specific PRCM code into OMAP2/3-specific files 2010-12-21 20:01:55 -07:00
prm-regbits-34xx.h OMAP2/3: PRCM: split OMAP2/3-specific PRCM code into OMAP2/3-specific files 2010-12-21 20:01:55 -07:00
prm-regbits-44xx.h OMAP2/3: PRCM: split OMAP2/3-specific PRCM code into OMAP2/3-specific files 2010-12-21 20:01:55 -07:00
prm.h OMAP2/3: PRCM: split OMAP2/3-specific PRCM code into OMAP2/3-specific files 2010-12-21 20:01:55 -07:00
prminst44xx.c OMAP4: PRCM: add OMAP4-specific accessor/mutator functions 2010-12-21 21:05:14 -07:00
prminst44xx.h OMAP4: PRCM: add OMAP4-specific accessor/mutator functions 2010-12-21 21:05:14 -07:00
scrm44xx.h OMAP4: PRCM: Add SCRM header file 2010-12-21 20:01:54 -07:00
sdram-hynix-h8mbx00u0mer-0em.h
sdram-micron-mt46h32m32lf-6.h
sdram-nokia.c arm: omap: sdram-nokia: add 97.6/195.2 MHz timing data 2010-12-17 15:13:46 -08:00
sdram-nokia.h arm: omap: add sdram-nokia.h 2010-12-17 15:13:44 -08:00
sdram-numonyx-m65kxxxxam.h
sdram-qimonda-hyb18m512160af-6.h
sdrc2xxx.c OMAP2/3: PRM/CM: prefix OMAP2 PRM/CM functions with "omap2_" 2010-12-21 21:05:14 -07:00
sdrc.c OMAP2/3: PRCM: split OMAP2/3-specific PRCM code into OMAP2/3-specific files 2010-12-21 20:01:55 -07:00
sdrc.h OMAP2+: use global values for the SRAM PA addresses 2010-12-21 14:45:56 -08:00
serial.c console: rename acquire/release_console_sem() to console_lock/unlock() 2011-01-26 10:50:06 +10:00
sleep24xx.S
sleep34xx.S OMAP2/3: PRCM: split OMAP2/3-specific PRCM code into OMAP2/3-specific files 2010-12-21 20:01:55 -07:00
smartreflex-class3.c OMAP3: PM: Adding smartreflex class3 driver 2010-12-22 14:31:40 -08:00
smartreflex.c OMAP4: Smartreflex framework extensions 2010-12-22 14:31:50 -08:00
sr_device.c OMAP3+: sr_device: include pm header 2011-01-07 13:33:06 -08:00
sram34xx.S OMAP2/3: SRAM: add comment about crashes during a TLB miss 2010-12-21 21:08:14 -07:00
sram242x.S OMAP2/3: SRAM: add comment about crashes during a TLB miss 2010-12-21 21:08:14 -07:00
sram243x.S OMAP2/3: SRAM: add comment about crashes during a TLB miss 2010-12-21 21:08:14 -07:00
timer-gp.c OMAP: counter_32k: init clocksource as part of machine timer init 2011-01-18 12:04:12 -07:00
timer-gp.h OMAP2plus: Fix static function warnings 2010-10-08 10:02:49 -07:00
timer-mpu.c
usb-ehci.c arm: omap4: usb: add platform init code for EHCI 2010-12-01 02:42:13 +05:30
usb-fs.c OMAP: control: move plat-omap/control.h to mach-omap2/control.h 2010-10-08 11:40:20 -06:00
usb-musb.c musb: am35x: fix compile error due to control apis 2010-12-10 10:21:35 +02:00
usb-tusb6010.c Merge branch 'usb-next' of git://git.kernel.org/pub/scm/linux/kernel/git/gregkh/usb-2.6 2011-01-07 13:16:28 -08:00
voltage.c OMAP4: Adding voltage driver support 2010-12-22 14:31:47 -08:00
wd_timer.c omap2+: wdt: trivial sparse fixes 2011-01-06 19:58:28 -08:00
wd_timer.h OMAP2+: wd_timer: separate watchdog disable code from the rest of mach-omap2/devices.c 2010-12-21 19:56:17 -07:00