OpenCloudOS-Kernel/drivers/pnp/pnpbios
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 Use menuconfig objects: PNP 2007-07-16 09:05:40 -07:00
Makefile PNP: Compile all pnp built-in stuff in one module namespace 2010-10-27 02:23:44 -04:00
bioscalls.c Fix common misspellings 2011-03-31 11:26:23 -03:00
core.c pnpbios: propagate kthread_run() error 2009-04-02 19:04:52 -07:00
pnpbios.h PNPBIOS: remove include/linux/pnpbios.h 2008-04-29 03:22:30 -04:00
proc.c Update broken web addresses in the kernel. 2010-10-18 11:03:14 +02:00
rsparser.c treewide: Convert uses of struct resource to resource_size(ptr) 2011-06-10 14:55:36 +02:00