diff options
author | 2019-03-25 13:34:02 -0500 | |
---|---|---|
committer | 2019-03-26 22:36:46 +0100 | |
commit | 40381a3c1fa3ed37458c7f745e51fc81e9b48fe2 (patch) | |
tree | 2d3c15f2673ca3aa27f1e4983bb59b122805693a /scripts/gen_compile_commands.py | |
parent | Linux 5.1-rc2 (diff) | |
download | linux-dev-40381a3c1fa3ed37458c7f745e51fc81e9b48fe2.tar.xz linux-dev-40381a3c1fa3ed37458c7f745e51fc81e9b48fe2.zip |
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 'scripts/gen_compile_commands.py')
0 files changed, 0 insertions, 0 deletions