2
0
mirror of https://github.com/edk2-porting/linux-next.git synced 2024-12-23 12:43:55 +08:00
linux-next/arch/mips/powertv
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
..
asic treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00
pci mips: change to new flag variable 2011-03-17 14:02:56 +01:00
init.c MIPS: PowerTV: Simplify command line handling and needed config changes 2010-08-05 13:26:02 +01:00
init.h MIPS: PowerTV: simplify prom_init_cmdline() and merge into prom_init() 2010-01-12 18:19:33 +01:00
ioremap.c MIPS: PowerTV: Use O(1) algorthm for phys_to_dma/dma_to_phys 2010-08-05 13:25:40 +01:00
Kconfig MIPS: PowerTV: Base files for Cisco PowerTV platform 2009-12-17 01:57:17 +00:00
Makefile mips: change to new flag variable 2011-03-17 14:02:56 +01:00
memory.c tree-wide: fix comment/printk typos 2010-11-01 15:38:34 -04:00
Platform MIPS: PowerTV: Migrate to new platform makefile style. 2010-08-05 13:25:52 +01:00
powertv_setup.c MIPS: PowerTV: Removing dead CONFIG_DIAGNOSTICS 2010-08-05 13:26:01 +01:00
powertv-clock.h MIPS: PowerTV: Base files for Cisco PowerTV platform 2009-12-17 01:57:17 +00:00
powertv-usb.c MIPS: PowerTV: Separate PowerTV USB support from non-USB code 2010-08-05 13:26:34 +01:00
reset.c MIPS: PowerTV: Remove mips_machine_halt() 2010-01-12 18:19:32 +01:00
reset.h MIPS: PowerTV: Base files for Cisco PowerTV platform 2009-12-17 01:57:17 +00:00
time.c MIPS: PowerTV: Remove extra r4k_clockevent_init() call 2010-01-12 18:19:35 +01:00