PNP: factor pnp_init_resource_table() and pnp_clean_resource_table()
commitd948a8daa059cf5b3e7f002e7b92acf00fc70c49
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 28 Apr 2008 22:34:13 +0000 (28 16:34 -0600)
committerLen Brown <len.brown@intel.com>
Tue, 29 Apr 2008 07:22:23 +0000 (29 03:22 -0400)
treea7fed0c0d5f4b599a6999f58619e2d8df1e68852
parentaf11cb2d521f9d7e10c565bafe8f2358772baa65
PNP: factor pnp_init_resource_table() and pnp_clean_resource_table()

Move the common part of pnp_init_resource_table() and
pnp_clean_resource_table() into a new pnp_init_resource().
This reduces a little code duplication and will be
useful later to initialize an individual resource.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/pnp/base.h
drivers/pnp/manager.c