WSL2-Linux-Kernel/sound/ppc
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: Minor cleanup to sound/ppc/Kconfig 2009-10-27 16:42:42 +11:00
Makefile
awacs.c of: add 'of_' prefix to machine_is_compatible() 2010-02-09 08:33:00 -07:00
awacs.h
beep.c ALSA: sound/ppc: update annotations of serveral functions 2009-06-03 08:08:44 +02:00
burgundy.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
burgundy.h
daca.c ALSA: sound/ppc: update annotations of serveral functions 2009-06-03 08:08:44 +02:00
keywest.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
pmac.c treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00
pmac.h
powermac.c ALSA: move snd_powermac's probe function to .devinit.text 2009-04-06 03:52:57 +02:00
snd_ps3.c Fix common misspellings 2011-03-31 11:26:23 -03:00
snd_ps3.h
snd_ps3_reg.h Fix common misspellings 2011-03-31 11:26:23 -03:00
tumbler.c ALSA: powermac - Correct lineout detection on PowerMac G4 DA 2011-04-22 13:21:01 +02:00
tumbler_volume.h