Commit ff44fe3e authored by Rafael J. Wysocki's avatar Rafael J. Wysocki

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: 2ce6324e ("ACPI: DPTF: Add PCH FIVR participant driver")
Fixes: 6256ebd5 ("ACPI / DPTF: Add DPTF power participant driver")
Signed-off-by: default avatarRafael J. Wysocki <rafael.j.wysocki@intel.com>
Reviewed-by: default avatarSrinivas Pandruvada <srinivas.pandruvada@linux.intel.com>
Acked-by: default avatarBorislav Petkov <bp@suse.de>
parent cf1d2b44
...@@ -114,7 +114,7 @@ static struct platform_driver pch_fivr_driver = { ...@@ -114,7 +114,7 @@ static struct platform_driver pch_fivr_driver = {
.probe = pch_fivr_add, .probe = pch_fivr_add,
.remove = pch_fivr_remove, .remove = pch_fivr_remove,
.driver = { .driver = {
.name = "DPTF PCH FIVR", .name = "dptf_pch_fivr",
.acpi_match_table = pch_fivr_device_ids, .acpi_match_table = pch_fivr_device_ids,
}, },
}; };
......
...@@ -237,7 +237,7 @@ static struct platform_driver dptf_power_driver = { ...@@ -237,7 +237,7 @@ static struct platform_driver dptf_power_driver = {
.probe = dptf_power_add, .probe = dptf_power_add,
.remove = dptf_power_remove, .remove = dptf_power_remove,
.driver = { .driver = {
.name = "DPTF Platform Power", .name = "dptf_power",
.acpi_match_table = int3407_device_ids, .acpi_match_table = int3407_device_ids,
}, },
}; };
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment