summaryrefslogtreecommitdiff
path: root/drivers/pnp/resource.c
diff options
context:
space:
mode:
authorBjorn Helgaas <bjorn.helgaas@hp.com>2008-04-29 02:34:20 +0400
committerLen Brown <len.brown@intel.com>2008-04-29 11:22:25 +0400
commit470feb113a23de365b6051efde0d69de86d9d2f8 (patch)
tree046672a3e12f41d0ef2fd8ffbe82650d7f26ee2d /drivers/pnp/resource.c
parent30c016a0c8d2aae10be6a87bb98f0e85db8b09d5 (diff)
downloadlinux-470feb113a23de365b6051efde0d69de86d9d2f8.tar.xz
PNP: reduce redundancy in pnp_set_current_resources()
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 'drivers/pnp/resource.c')
0 files changed, 0 insertions, 0 deletions