android_kernel_xiaomi_sm8350/drivers/pnp
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
..
isapnp
pnpacpi PNPACPI: remove some code duplication 2006-04-01 21:26:45 -05:00
pnpbios
base.h
card.c [PATCH] pnp: PNP: adjust pnp_register_driver signature 2006-03-27 08:44:53 -08:00
core.c
driver.c [PATCH] pnp: PNP: adjust pnp_register_driver signature 2006-03-27 08:44:53 -08:00
interface.c
Kconfig
Makefile
manager.c
quirks.c
resource.c
support.c
system.c