]> git.karo-electronics.de Git - linux-beck.git/commit
ACPI: introduce a function to find the first physical device
authorAleksey Makarov <aleksey.makarov@linaro.org>
Tue, 16 Feb 2016 12:52:38 +0000 (15:52 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 16 Feb 2016 18:56:28 +0000 (19:56 +0100)
commit3b95bd160547f56a68aeb972c33ae9511e7a8380
tree2aee4b0afd45b60ccde072b85be3e2298f034f35
parent18558cae0272f8fd9647e69d3fec1565a7949865
ACPI: introduce a function to find the first physical device

Factor out the code that finds the first physical device
of a given ACPI device.  It is used in several places.

Signed-off-by: Aleksey Makarov <aleksey.makarov@linaro.org>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/acpi_platform.c
drivers/acpi/bus.c
drivers/acpi/internal.h