diff options
author | Bjorn Helgaas <bhelgaas@google.com> | 2019-03-25 13:34:02 -0500 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2019-03-26 22:36:46 +0100 |
commit | 40381a3c1fa3ed37458c7f745e51fc81e9b48fe2 (patch) | |
tree | 2d3c15f2673ca3aa27f1e4983bb59b122805693a /drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c | |
parent | 8c2ffd9174779014c3fe1f96d9dc3641d9175f00 (diff) |
ACPI / scan: Simplify acpi_bus_extract_wakeup_device_power_package()
acpi_bus_extract_wakeup_device_power_package() is a static function
with a single caller that supplies (device->handle, &device->wakeup).
Simplify the interface so the caller need only supply "device".
This makes it obvious that "wakeup", i.e., &device->wakeup, can never
be NULL, so remove the unnecessary check for that.
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/mxgpu_ai.c')
0 files changed, 0 insertions, 0 deletions