]> pilppa.com Git - linux-2.6-omap-h63xx.git/commit
PNP: reduce redundancy in pnp_assign_port() and others
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 28 Apr 2008 22:34:18 +0000 (16:34 -0600)
committerLen Brown <len.brown@intel.com>
Tue, 29 Apr 2008 07:22:24 +0000 (03:22 -0400)
commit28ccffcf028777e830cbdc30bc54ba8a37e2fc23
treed71301fd3b0b5fa652f7ad18361a86a8d904a6c0
parentecfa935a2f7ef89543608f3ca05340c158c9a236
PNP: reduce redundancy in pnp_assign_port() and others

Use a temporary "res" pointer to replace repeated lookups in
the pnp resource tables.

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/manager.c