search for: acpi_get_par

Displaying 2 results from an estimated 2 matches for "acpi_get_par".

Did you mean: acpi_get_pxm
2013 Feb 15
1
xen/acpi: ACPI memory hotplug
...== 0) goto end; A successful "Get Device" means that "device" is non-NULL; that's built into the name. Anyway, if acpi_bus_get_device() fails either something else will fail or we will Oops in the call to acpi_driver_data(). 172 goto end; 173 174 status = acpi_get_parent(handle, &phandle); 175 if (ACPI_FAILURE(status)) { 176 pr_warn(PREFIX "Cannot find acpi parent\n"); 177 return -EINVAL; 178 } 179 180 /* Get the parent device */ 181 result = acpi_bus_get_device(phandle, &pdevice); 182 if (result) { 183 pr...
2013 Feb 15
1
xen/acpi: ACPI memory hotplug
...== 0) goto end; A successful "Get Device" means that "device" is non-NULL; that's built into the name. Anyway, if acpi_bus_get_device() fails either something else will fail or we will Oops in the call to acpi_driver_data(). 172 goto end; 173 174 status = acpi_get_parent(handle, &phandle); 175 if (ACPI_FAILURE(status)) { 176 pr_warn(PREFIX "Cannot find acpi parent\n"); 177 return -EINVAL; 178 } 179 180 /* Get the parent device */ 181 result = acpi_bus_get_device(phandle, &pdevice); 182 if (result) { 183 pr...