diff options
| author | Rafael J. Wysocki <rafael.j.wysocki@intel.com> | 2026-07-06 14:35:51 +0200 |
|---|---|---|
| committer | Guenter Roeck <linux@roeck-us.net> | 2026-08-10 08:59:40 -0700 |
| commit | 2d2f6ce9f84abbad27387c4629211135fea66836 (patch) | |
| tree | 2c05ecf390ea7589388f0462104686f90f76e2f8 /scripts/Makefile.thinlto | |
| parent | a24f4ea5f3c26ee235d5a8491324ccec53ff120d (diff) | |
hwmon: (acpi_power_meter) Stop setting acpi_device_name/class()
The driver populates acpi_device_name() and acpi_device_class() that are
never read afterward, so make it stop doing that and drop the symbols
defined for this purpose.
Since ACPI_POWER_METER_CLASS is also used for generating ACPI netlink
events, use the "pwr_meter_resource" string literal directly instead of
it for that.
No intentional functional impact.
This will facilitate the removal of device_name and device_class from
struct acpi_device_pnp in the future.
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Link: https://lore.kernel.org/r/2297496.irdbgypaU6@rafael.j.wysocki
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
