Skip to content

Commit ff44fe3

Browse files
committed
ACPI: DPTF: Fix participant driver names
Change the names of DPTF participant drivers to adhere to the sysfs file naming conventions (no spaces present in the name in particular). Fixes: 2ce6324 ("ACPI: DPTF: Add PCH FIVR participant driver") Fixes: 6256ebd ("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>
1 parent cf1d2b4 commit ff44fe3

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/acpi/dptf/dptf_pch_fivr.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ static struct platform_driver pch_fivr_driver = {
114114
.probe = pch_fivr_add,
115115
.remove = pch_fivr_remove,
116116
.driver = {
117-
.name = "DPTF PCH FIVR",
117+
.name = "dptf_pch_fivr",
118118
.acpi_match_table = pch_fivr_device_ids,
119119
},
120120
};

drivers/acpi/dptf/dptf_power.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ static struct platform_driver dptf_power_driver = {
237237
.probe = dptf_power_add,
238238
.remove = dptf_power_remove,
239239
.driver = {
240-
.name = "DPTF Platform Power",
240+
.name = "dptf_power",
241241
.acpi_match_table = int3407_device_ids,
242242
},
243243
};

0 commit comments

Comments
 (0)