linux-hardened/arch/powerpc/platforms/52xx
Joe Perches 28f65c11f2 treewide: Convert uses of struct resource to resource_size(ptr)
Several fixes as well where the +1 was missing.

Done via coccinelle scripts like:

@@
struct resource *ptr;
@@

- ptr->end - ptr->start + 1
+ resource_size(ptr)

and some grep and typing.

Mostly uncompiled, no cross-compilers.

Signed-off-by: Joe Perches <joe@perches.com>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
2011-06-10 14:55:36 +02:00
..
efika.c powerpc/5200: efika.c: Add of_node_put to avoid memory leak 2010-09-08 11:45:24 -06:00
Kconfig powerpc/5200: add LocalPlus bus FIFO device driver 2009-11-04 16:42:47 -07:00
lite5200.c of/flattree: Add of_flat_dt_match() helper function 2011-01-01 13:03:25 -07:00
lite5200_pm.c suspend: constify platform_suspend_ops 2010-11-16 14:14:02 +01:00
lite5200_sleep.S [POWERPC] MPC5200 low power mode 2007-09-19 15:25:34 +10:00
Makefile powerpc/5200: add LocalPlus bus FIFO device driver 2009-11-04 16:42:47 -07:00
media5200.c powerpc/irq: Stop exporting irq_map 2011-05-04 15:02:15 +10:00
mpc52xx_common.c powerpc/5200: tighten up ac97 reset timing 2010-09-08 11:55:26 -06:00
mpc52xx_gpio.c dt/powerpc: Eliminate users of of_platform_{,un}register_driver 2011-02-28 01:36:39 -07:00
mpc52xx_gpt.c powerpc: Convert to new irq_* function names 2011-03-29 14:48:12 +02:00
mpc52xx_lpbfifo.c Fix common misspellings 2011-03-31 11:26:23 -03:00
mpc52xx_pci.c treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00
mpc52xx_pic.c powerpc/mpc62xx_pic: Fix get_irq handling of NO_IRQ 2011-05-19 15:31:49 +10:00
mpc52xx_pm.c suspend: constify platform_suspend_ops 2010-11-16 14:14:02 +01:00
mpc52xx_sleep.S [POWERPC] mpc52xx suspend to deep-sleep 2007-05-07 20:31:15 +10:00
mpc5200_simple.c of/flattree: Add of_flat_dt_match() helper function 2011-01-01 13:03:25 -07:00