pcmcia: clarify alloc_io_space, move it to resource handlers
authorDominik Brodowski <linux@dominikbrodowski.net>
Sat, 20 Mar 2010 12:10:47 +0000 (13:10 +0100)
committerDominik Brodowski <linux@dominikbrodowski.net>
Mon, 10 May 2010 08:23:19 +0000 (10:23 +0200)
commitb19a7275dec4b470ea9abaae6129d21a0d75ab2f
tree9a3824270dee0494a198f969ae5b8c53e4950165
parent49b1153adfe18a3cce7e70aa26c690f275917cd0
pcmcia: clarify alloc_io_space, move it to resource handlers

Clean up the alloc_io_space() function by moving most of it to
the actual resource_ops. This allows for a bit less re-directions.
Future cleanups will follow, and will make up for the code
duplication currently present between rsrc_iodyn and rsrc_nonstatic
(which are hardly ever built at the same time anyway, therefore no
increase in built size).

Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/cs_internal.h
drivers/pcmcia/pcmcia_resource.c
drivers/pcmcia/rsrc_iodyn.c
drivers/pcmcia/rsrc_mgr.c
drivers/pcmcia/rsrc_nonstatic.c
include/pcmcia/ds.h