Loading
hwmon: (acpi_power_meter) Fix fail to load module on platform without _PMD method
mainline inclusion from mainline-v6.12-rc7 commit fabb1f813ec05975fd3428e72a62ef9f855fd3b4 category: bugfix bugzilla: https://gitee.com/openeuler/kernel/issues/IBVB4K CVE: NA Reference: https://web.git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git/commit/?id=fabb1f813ec05975fd3428e72a62ef9f855fd3b4 --------------------------------------------------------------------- According to the ACPI specification, the _PMD method is optional. The acpi_power_meter driver shouldn't fail to load if the platform has no _PMD method. Signed-off-by:Huisong Li <lihuisong@huawei.com> Message-ID: <20241112021228.22914-1-lihuisong@huawei.com> [groeck: Reworded commit description] Signed-off-by:
Guenter Roeck <linux@roeck-us.net> Signed-off-by:
Xinghai Cen <cenxinghai@h-partners.com>