diff options
author | Michal Wilczynski <michal.wilczynski@intel.com> | 2023-10-18 22:09:43 +0300 |
---|---|---|
committer | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2023-10-24 20:54:29 +0200 |
commit | dd0261bb9e4435a426cd86a28516129c46929ea4 (patch) | |
tree | 3880e9ed68093d0b48b083767a661c336c7e380d /scripts/mod/file2alias.c | |
parent | 470508f63ad2483b1ae82ed67cd504ad408b2a35 (diff) |
ACPI: acpi_pad: Replace acpi_driver with platform_driver
The acpi_pad driver uses struct acpi_driver to register itself while it
would be more logically consistent to use struct platform_driver for this
purpose, because the corresponding platform device is present and the
role of struct acpi_device is to amend the other bus types. ACPI devices
are not meant to be used as proper representation of hardware entities,
but to collect information on those hardware entities provided by the
platform firmware.
Use struct platform_driver for registering the acpi_pad driver.
Suggested-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Michal Wilczynski <michal.wilczynski@intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Diffstat (limited to 'scripts/mod/file2alias.c')
0 files changed, 0 insertions, 0 deletions