linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH v1] pinctrl: broxton: Rename apl-pinctrl driver
@ 2017-01-25 20:29 Andy Shevchenko
  2017-01-25 20:43 ` Andy Shevchenko
  2017-01-26 14:38 ` Linus Walleij
  0 siblings, 2 replies; 3+ messages in thread
From: Andy Shevchenko @ 2017-01-25 20:29 UTC (permalink / raw)
  To: Linus Walleij, linux-gpio, Mika Westerberg; +Cc: 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'.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/pinctrl/intel/pinctrl-broxton.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/pinctrl/intel/pinctrl-broxton.c b/drivers/pinctrl/intel/pinctrl-broxton.c
index 8ec2b6a77745..21bff8cca3ed 100644
--- a/drivers/pinctrl/intel/pinctrl-broxton.c
+++ b/drivers/pinctrl/intel/pinctrl-broxton.c
@@ -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 },
 	{ },
 };
-- 
2.11.0


^ permalink raw reply related	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] pinctrl: broxton: Rename apl-pinctrl driver
  2017-01-25 20:29 [PATCH v1] pinctrl: broxton: Rename apl-pinctrl driver Andy Shevchenko
@ 2017-01-25 20:43 ` Andy Shevchenko
  2017-01-26 14:38 ` Linus Walleij
  1 sibling, 0 replies; 3+ messages in thread
From: Andy Shevchenko @ 2017-01-25 20:43 UTC (permalink / raw)
  To: Linus Walleij, linux-gpio, Mika Westerberg

On Wed, 2017-01-25 at 22:29 +0200, Andy Shevchenko wrote:
> 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.

> 
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
> ---
>  drivers/pinctrl/intel/pinctrl-broxton.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/pinctrl/intel/pinctrl-broxton.c
> b/drivers/pinctrl/intel/pinctrl-broxton.c
> index 8ec2b6a77745..21bff8cca3ed 100644
> --- a/drivers/pinctrl/intel/pinctrl-broxton.c
> +++ b/drivers/pinctrl/intel/pinctrl-broxton.c
> @@ -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 },
>  	{ },
>  };

-- 
Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Intel Finland Oy

^ permalink raw reply	[flat|nested] 3+ messages in thread

* Re: [PATCH v1] pinctrl: broxton: Rename apl-pinctrl driver
  2017-01-25 20:29 [PATCH v1] pinctrl: broxton: Rename apl-pinctrl driver Andy Shevchenko
  2017-01-25 20:43 ` Andy Shevchenko
@ 2017-01-26 14:38 ` Linus Walleij
  1 sibling, 0 replies; 3+ messages in thread
From: Linus Walleij @ 2017-01-26 14:38 UTC (permalink / raw)
  To: Andy Shevchenko; +Cc: linux-gpio@vger.kernel.org, Mika Westerberg

On Wed, Jan 25, 2017 at 9:29 PM, Andy Shevchenko
<andriy.shevchenko@linux.intel.com> wrote:

> 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'.
>
> Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>

Better like this anyway,

Patch applied.

Yours,
Linus Walleij

^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2017-01-26 14:38 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2017-01-25 20:29 [PATCH v1] pinctrl: broxton: Rename apl-pinctrl driver Andy Shevchenko
2017-01-25 20:43 ` Andy Shevchenko
2017-01-26 14:38 ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).