summaryrefslogtreecommitdiffstats
path: root/drivers/acpi/internal.h
diff options
context:
space:
mode:
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-08-01 02:39:43 +0200
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>2015-08-06 03:11:47 +0200
commite91a398c31cef2d51786642e372c503cd43fba90 (patch)
tree618209a72c4cdbeeefd83350bfb88c483d9add80 /drivers/acpi/internal.h
parent50ba22479c324c0d9dc8134d519dcba92d83a8a7 (diff)
downloadblackbird-op-linux-e91a398c31cef2d51786642e372c503cd43fba90.tar.gz
blackbird-op-linux-e91a398c31cef2d51786642e372c503cd43fba90.zip
ACPI / bus: Move duplicate code to a separate new function
After merging commit 712e960f0ee9 (ACPI / PM: Attach ACPI power domain only once) with commit 1dcc3d3362b0 (ACPI / bus: Move ACPI bus type registration) there is some duplicate code in acpi_device_is_first_physical_node() and acpi_companion_match() that can be moved to a separate routine and called from both places. Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com> Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com> Reviewed-by: Hanjun Guo <hanjun.guo@linaro.org>
Diffstat (limited to 'drivers/acpi/internal.h')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud