OpenCloudOS-Kernel/arch/powerpc/sysdev/qe_lib
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
..
Kconfig powerpc/qe: Select QE_USB with USB_GADGET_FSL_QE 2008-12-30 12:12:12 -06:00
Makefile powerpc/QE: implement support for the GPIO LIB API 2008-06-10 11:11:10 -05:00
gpio.c of/gpio: add default of_xlate function if device has a node pointer 2010-07-05 16:14:30 -06:00
qe.c dt/powerpc: Eliminate users of of_platform_{,un}register_driver 2011-02-28 01:36:39 -07:00
qe_ic.c treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00
qe_ic.h [POWERPC] Add an optional device_node pointer to the irq_host 2007-09-14 01:33:20 +10:00
qe_io.c treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00
ucc.c include cleanup: Update gfp.h and slab.h includes to prepare for breaking implicit slab.h inclusion from percpu.h 2010-03-30 22:02:32 +09:00
ucc_fast.c powerpc: fix memory leaks in QE library 2008-08-20 23:58:12 -05:00
ucc_slow.c powerpc: fix memory leaks in QE library 2008-08-20 23:58:12 -05:00
usb.c powerpc/QE: add support for QE USB clocks routing 2008-06-10 10:39:13 -05:00