]> err.no Git - linux-2.6/commit
PNP: pass resources, not indexes, to pnp_check_port(), et al
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 28 Apr 2008 22:34:22 +0000 (16:34 -0600)
committerLen Brown <len.brown@intel.com>
Tue, 29 Apr 2008 07:22:25 +0000 (03:22 -0400)
commitf5d94ff014cb7e6212f40fc6644f3fd68507df33
treedc370a5b6167a5d325beb3536309e3953d1976a2
parentdb9eaeab3e7ab72d773820820f1ba33960ad24c4
PNP: pass resources, not indexes, to pnp_check_port(), et al

The caller already has the struct resource pointer, so no need for
pnp_check_port(), pnp_check_mem(), etc., to look it up again.

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/base.h
drivers/pnp/manager.c
drivers/pnp/resource.c