ACPI: scan: Introduce typedef:s for struct acpi_hotplug_context members
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 25 Mar 2024 12:33:03 +0000 (14:33 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 4 Apr 2024 19:19:02 +0000 (21:19 +0200)
commitf5c519fc3628915c2eccd65f86d7ee2ce5cc8645
tree6dd45af5afe731bbaac168acdaa117b8b6982d81
parent602401e32847f90c513df4a34bcac4dd6b02dd8d
ACPI: scan: Introduce typedef:s for struct acpi_hotplug_context members

Follow the struct acpi_device_ops approach and introduce typedef:s
for the members. It makes code less verbose and more particular on
what parameters we take or types we use.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/acpi/dock.c
drivers/acpi/scan.c
include/acpi/acpi_bus.h