]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
platform/loongarch: laptop: Stop setting acpi_device_class()
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 24 Jul 2026 08:33:14 +0000 (16:33 +0800)
committerHuacai Chen <chenhuacai@loongson.cn>
Fri, 24 Jul 2026 08:33:14 +0000 (16:33 +0800)
commitcf4dd800e49d35d48ebd63d511a6e200f39176f7
tree59ac3b6f92b06d23b5b5cf964b1455252037c889
parent47e20d4b3da97ef3881d1e55e43545c22424f3fc
platform/loongarch: laptop: Stop setting acpi_device_class()

The driver populates acpi_device_class() which is never read afterward,
so make it stop doing that and drop the symbol defined specifically for
this purpose.

No intentional functional impact.

This change will facilitate the removal of "device_class" from "struct
acpi_device_pnp" in the future.

Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Signed-off-by: Huacai Chen <chenhuacai@loongson.cn>
drivers/platform/loongarch/loongson-laptop.c