Skip to content

Commit 521aa8b

Browse files
jwrdegoedelag-linaro
authored andcommitted
mfd: intel_soc_pmic_*: Consistently use filename as driver name
Currently the intel_soc_pmic_bxtwc, intel_soc_pmic_chtwc and intel_soc_pmic_crc PMIC drivers use more or less free form strings for their driver name. Where as intel_soc_pmic_chtdc_ti and intel_soc_pmic_mrfld use the driver's filename as driver name. Update the 3 others to also use the driver's filename to make the naming consistent. Suggested-by: Andy Shevchenko <[email protected]> Signed-off-by: Hans de Goede <[email protected]> Reviewed-by: Andy Shevchenko <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Lee Jones <[email protected]>
1 parent 7f6d3f7 commit 521aa8b

File tree

3 files changed

+3
-3
lines changed

3 files changed

+3
-3
lines changed

drivers/mfd/intel_soc_pmic_bxtwc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -616,7 +616,7 @@ static struct platform_driver bxtwc_driver = {
616616
.probe = bxtwc_probe,
617617
.shutdown = bxtwc_shutdown,
618618
.driver = {
619-
.name = "BXTWC PMIC",
619+
.name = "intel_soc_pmic_bxtwc",
620620
.pm = pm_sleep_ptr(&bxtwc_pm_ops),
621621
.acpi_match_table = bxtwc_acpi_ids,
622622
.dev_groups = bxtwc_groups,

drivers/mfd/intel_soc_pmic_chtwc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -267,7 +267,7 @@ static const struct acpi_device_id cht_wc_acpi_ids[] = {
267267

268268
static struct i2c_driver cht_wc_driver = {
269269
.driver = {
270-
.name = "CHT Whiskey Cove PMIC",
270+
.name = "intel_soc_pmic_chtwc",
271271
.pm = pm_sleep_ptr(&cht_wc_pm_ops),
272272
.acpi_match_table = cht_wc_acpi_ids,
273273
},

drivers/mfd/intel_soc_pmic_crc.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -261,7 +261,7 @@ MODULE_DEVICE_TABLE(acpi, crystal_cove_acpi_match);
261261

262262
static struct i2c_driver crystal_cove_i2c_driver = {
263263
.driver = {
264-
.name = "crystal_cove_i2c",
264+
.name = "intel_soc_pmic_crc",
265265
.pm = pm_sleep_ptr(&crystal_cove_pm_ops),
266266
.acpi_match_table = crystal_cove_acpi_match,
267267
},

0 commit comments

Comments
 (0)