Skip to contentSkip to conversation

pinctrl: broxton: Rename apl-pinctrl driver

PATCH In review Andy Shevchenko 2 participants 3 messages Jan 25, 2017 – Jan 26, 2017

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 pinctrl: broxton: Rename apl-pinctrl driver

While we have no users yet rename the platform driver to use the same pattern as the rest of Intel SoCs, i.e. use full SoC name in 'apollolake-pinctrl'.

---
 drivers/pinctrl/intel/pinctrl-broxton.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/intel/pinctrl-broxton.c +1 -1
index 8ec2b6a77745..21bff8cca3ed 100644
@@ -1004,7 +1004,7 @@ static const struct acpi_device_id bxt_pinctrl_acpi_match[] = {
 MODULE_DEVICE_TABLE(acpi, bxt_pinctrl_acpi_match);
 
 static const struct platform_device_id bxt_pinctrl_platform_ids[] = {
-	{ "apl-pinctrl", (kernel_ulong_t)&apl_pinctrl_soc_data },
+	{ "apollolake-pinctrl", (kernel_ulong_t)&apl_pinctrl_soc_data },
 	{ "broxton-pinctrl", (kernel_ulong_t)&bxt_pinctrl_soc_data },
 	{ },
 };
Signature · 1 line
2.11.0
#1 lore raw
Quoted 3 lines · Andy Shevchenko

While we have no users yet rename the platform driver to use the same pattern as the rest of Intel SoCs, i.e. use full SoC name in 'apollolake-pinctrl'.

Just a side note.

There will be more patches coming depending on this one, so, that's why I decided to send it separately, that will prevent potential users to use wrong name of the driver.

So, I'm also okay to send this as a first one in series, but it will take time to prepare that.

Quoted 22 lines

---
 drivers/pinctrl/intel/pinctrl-broxton.c | 2 +-

 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/pinctrl/intel/pinctrl-broxton.c +0 -0
index 8ec2b6a77745..21bff8cca3ed 100644
@@ -1004,7 +1004,7 @@ static const struct acpi_device_id
 bxt_pinctrl_acpi_match[] = {
  MODULE_DEVICE_TABLE(acpi, bxt_pinctrl_acpi_match);


 static const struct platform_device_id bxt_pinctrl_platform_ids[] = {

drivers/pinctrl/intel/pinctrl-broxton.c +1 -1
-	{ "apl-pinctrl", (kernel_ulong_t)&apl_pinctrl_soc_data },
+	{ "apollolake-pinctrl", (kernel_ulong_t)&apl_pinctrl_soc_data

},
  { "broxton-pinctrl", (kernel_ulong_t)&bxt_pinctrl_soc_data }, { },
 };

Signature · 2 lines
Andy Shevchenko <[email protected]>
Intel Finland Oy