WSL2-Linux-Kernel/drivers/video/msm
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
..
Makefile
mddi.c treewide: Fix iomap resource size miscalculations 2011-04-10 17:01:04 +02:00
mddi_client_dummy.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
mddi_client_nt35399.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
mddi_client_toshiba.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
mddi_hw.h
mdp.c treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00
mdp_csc_table.h
mdp_hw.h msm: mdp: Set the correct pack pattern for XRGB/ARGB 2011-03-08 11:54:46 -08:00
mdp_ppp.c msm: mdp: Add support for RGBX 8888 image format. 2011-03-02 13:43:15 -08:00
mdp_scale_tables.c
mdp_scale_tables.h
msm_fb.c treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00