linux_old1/drivers/pnp/pnpacpi
Bjorn Helgaas b5f2490b6e PNPACPI: remove some code duplication
Factor out the duplicated switch from pnpacpi_count_resources() and
pnpacpi_type_resources().  Remove the unnecessary re-initialization of
resource->type and length from all the encode functions (id and length are
originally set in the pnpacpi_build_resource_template() ->
pnpacpi_type_resources() path).

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Len Brown <len.brown@intel.com>
2006-04-01 21:26:45 -05:00
..
Kconfig [ACPI] delete CONFIG_ACPI_BUS 2005-08-24 12:11:34 -04:00
Makefile Linux-2.6.12-rc2 2005-04-16 15:20:36 -07:00
core.c [PNPACPI] clean excluded_id_list[] 2006-01-07 05:17:54 -05:00
pnpacpi.h [PATCH] pnp: consolidate kmalloc wrappers 2005-09-07 16:57:21 -07:00
rsparser.c PNPACPI: remove some code duplication 2006-04-01 21:26:45 -05:00