linux/arch/mips/ralink
Wei Yongjun cd5d58108e MIPS: ralink: fix return value check in rt_timer_probe()
In case of error, the function devm_request_and_ioremap() returns NULL
pointer not ERR_PTR(). Fix it by using devm_ioremap_resource() instead
of devm_request_and_ioremap().

Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: John Crispin <blogic@openwrt.org>
Cc: grant.likely@linaro.org
Cc: rob.herring@calxeda.com
Cc: linux-mips@linux-mips.org
Patchwork: https://patchwork.linux-mips.org/patch/6098/
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
2013-10-31 12:38:34 +01:00
..
dts MIPS: ralink: use the dwc2 driver for the rt305x USB controller 2013-05-17 21:16:59 +02:00
Kconfig MIPS: Add driver for the built-in PCI controller of the RT3883 SoC 2013-09-04 19:17:21 +02:00
Makefile MIPS: ralink: Add support for systick timer found on newer ralink SoC 2013-09-04 16:55:29 +02:00
Platform MIPS: ralink: mt7620: Add cpu-feature-override header 2013-09-04 16:58:31 +02:00
cevt-rt3352.c MIPS: ralink: Add support for systick timer found on newer ralink SoC 2013-09-04 16:55:29 +02:00
clk.c MIPS: ralink: Probe clocksources from OF 2013-09-04 16:55:50 +02:00
common.h MIPS: ralink: Add support for reset-controller API 2013-09-04 18:27:28 +02:00
early_printk.c MIPS: ralink: make early_printk work on RT2880 2013-05-08 01:19:08 +02:00
irq.c MIPS: Delete __cpuinit/__CPUINIT usage from MIPS code 2013-07-14 19:36:51 -04:00
mt7620.c MIPS: ralink: mt7620: Add spi clock definition 2013-09-04 16:58:06 +02:00
of.c MIPS: ralink: Add support for reset-controller API 2013-09-04 18:27:28 +02:00
prom.c MIPS: ralink: adds prom and cmdline code 2013-02-17 01:25:30 +01:00
reset.c MIPS: ralink: Add support for reset-controller API 2013-09-04 18:27:28 +02:00
rt288x.c MIPS: ralink: add memory definition for RT2880 2013-05-08 01:19:11 +02:00
rt305x.c MIPS: ralink: add memory definition for RT305x 2013-05-08 01:19:11 +02:00
rt3883.c MIPS: ralink: add memory definition for RT3883 2013-05-08 01:19:12 +02:00
timer.c MIPS: ralink: fix return value check in rt_timer_probe() 2013-10-31 12:38:34 +01:00