PNP: convert encoders to use pnp_get_resource(), not pnp_resource_table
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 28 Apr 2008 22:34:24 +0000 (16:34 -0600)
committerLen Brown <len.brown@intel.com>
Tue, 29 Apr 2008 07:22:26 +0000 (03:22 -0400)
commit7e2cf31f1c97ac14b6d9dc5f1ce9e1e01aef9c18
treea69361060c5bd7a2d4ca6f8d91ff09248d7dee7b
parentbe81b4a4838ce329b9f3978c7fc007b047c23722
PNP: convert encoders to use pnp_get_resource(), not pnp_resource_table

This removes more direct references to pnp_resource_table.  This
path is used when telling a device what resources it should use.

This doesn't convert ISAPNP because ISA needs to know the config
register index in addition to the resource itself.

Signed-off-by: Bjorn Helgaas <bjorn.helgaas@hp.com>
Acked-By: Rene Herman <rene.herman@gmail.com>
Signed-off-by: Len Brown <len.brown@intel.com>
drivers/pnp/pnpacpi/rsparser.c
drivers/pnp/pnpbios/rsparser.c