summaryrefslogtreecommitdiffstats
path: root/drivers/pnp/resource.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-04-29 00:34:18 +0200
committerLen Brown <len.brown@intel.com>2008-04-29 09:22:24 +0200
commit28ccffcf028777e830cbdc30bc54ba8a37e2fc23 (patch)
treed71301fd3b0b5fa652f7ad18361a86a8d904a6c0 /drivers/pnp/resource.c
parentPNP: use conventional "i" for loop indices (diff)
downloadlinux-28ccffcf028777e830cbdc30bc54ba8a37e2fc23.tar.xz
linux-28ccffcf028777e830cbdc30bc54ba8a37e2fc23.zip
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>
Diffstat (limited to '')
0 files changed, 0 insertions, 0 deletions