ACPI / bus: Introduce acpi_get_match_data() function
authorSinan Kaya <okaya@codeaurora.org>
Wed, 13 Dec 2017 07:20:48 +0000 (02:20 -0500)
committerVinod Koul <vinod.koul@intel.com>
Wed, 13 Dec 2017 08:40:57 +0000 (14:10 +0530)
commit80212a162329e590fde02d8457af16ea0ab0a55f
tree054a70992f391a682093d1234f35b7b0a9994685
parent4fbd8d194f06c8a3fd2af1ce560ddb31f7ec8323
ACPI / bus: Introduce acpi_get_match_data() function

OF has of_device_get_match_data() function to extract driver specific data
structure. Add a similar function for ACPI.

Signed-off-by: Sinan Kaya <okaya@codeaurora.org>
Acked-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Vinod Koul <vinod.koul@intel.com>
drivers/acpi/bus.c
include/linux/acpi.h