ACPI: DPTF: Fix participant driver names
authorRafael J. Wysocki <rafael.j.wysocki@intel.com>
Thu, 15 Oct 2020 16:58:43 +0000 (18:58 +0200)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Fri, 16 Oct 2020 16:16:39 +0000 (18:16 +0200)
Change the names of DPTF participant drivers to adhere to the
sysfs file naming conventions (no spaces present in the name in
particular).

Fixes: 2ce6324eadb0 ("ACPI: DPTF: Add PCH FIVR participant driver")
Fixes: 6256ebd5daf9 ("ACPI / DPTF: Add DPTF power participant driver")
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: Srinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Acked-by: Borislav Petkov <bp@suse.de>
drivers/acpi/dptf/dptf_pch_fivr.c
drivers/acpi/dptf/dptf_power.c

index 4ab2888..4c1992f 100644 (file)
@@ -114,7 +114,7 @@ static struct platform_driver pch_fivr_driver = {
        .probe = pch_fivr_add,
        .remove = pch_fivr_remove,
        .driver = {
-               .name = "DPTF PCH FIVR",
+               .name = "dptf_pch_fivr",
                .acpi_match_table = pch_fivr_device_ids,
        },
 };
index 92b996a..0674130 100644 (file)
@@ -237,7 +237,7 @@ static struct platform_driver dptf_power_driver = {
        .probe = dptf_power_add,
        .remove = dptf_power_remove,
        .driver = {
-               .name = "DPTF Platform Power",
+               .name = "dptf_power",
                .acpi_match_table = int3407_device_ids,
        },
 };