]> err.no Git - linux-2.6/commit
PNPACPI: pass pnp_dev instead of acpi_handle
authorBjorn Helgaas <bjorn.helgaas@hp.com>
Mon, 28 Apr 2008 22:34:03 +0000 (16:34 -0600)
committerLen Brown <len.brown@intel.com>
Tue, 29 Apr 2008 07:22:19 +0000 (03:22 -0400)
commitcdef6254e17e98f1071ce1bfc8f2a87997c855d0
tree984f9ac0ce71f9431a2f1d2b4daa120a3abdd30f
parentcd7ec927d9cd3d2001cbbdce872bd73f6e49c986
PNPACPI: pass pnp_dev instead of acpi_handle

Pass the pnp_dev pointer when possible instead of the acpi_handle.
This allows better error messages and reduces the chance of error
in the caller.

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/core.c
drivers/pnp/pnpacpi/pnpacpi.h
drivers/pnp/pnpacpi/rsparser.c