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>
This commit is contained in:
@@ -8,5 +8,5 @@
|
||||
acpi_status pnpacpi_parse_allocated_resource(acpi_handle, struct pnp_resource_table*);
|
||||
acpi_status pnpacpi_parse_resource_option_data(acpi_handle, struct pnp_dev*);
|
||||
int pnpacpi_encode_resources(struct pnp_resource_table *, struct acpi_buffer *);
|
||||
int pnpacpi_build_resource_template(acpi_handle, struct acpi_buffer*);
|
||||
int pnpacpi_build_resource_template(struct pnp_dev *, struct acpi_buffer *);
|
||||
#endif
|
||||
|
Reference in New Issue
Block a user