public inbox for linux-kernel@vger.kernel.org
 help / color / mirror / Atom feed
* [PATCH v1 1/1] mfd: intel_soc_pmic_core: Use explicit name of GPIO controller
@ 2016-10-20  9:36 Andy Shevchenko
  2016-10-20 11:13 ` Ville Syrjälä
  0 siblings, 1 reply; 4+ messages in thread
From: Andy Shevchenko @ 2016-10-20  9:36 UTC (permalink / raw)
  To: Lee Jones, linux-kernel
  Cc: Andy Shevchenko, Linus Walleij, Ville Syrjälä

The Crystal Cove GPIO driver has its explicit name, i.e. crystal_cove_gpio.

Use it explicitly to be in align with the rest of code, pretty grepping, and
prevent potential breakage if GPIO driver file name ever changed.

Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Ville Syrjälä <ville.syrjala@linux.intel.com>
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
---
 drivers/mfd/intel_soc_pmic_core.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/drivers/mfd/intel_soc_pmic_core.c b/drivers/mfd/intel_soc_pmic_core.c
index 12d6ebb4..7fd8e87 100644
--- a/drivers/mfd/intel_soc_pmic_core.c
+++ b/drivers/mfd/intel_soc_pmic_core.c
@@ -34,7 +34,7 @@ static struct gpiod_lookup_table panel_gpio_table = {
 	.dev_id = "0000:00:02.0",
 	.table = {
 		/* Panel EN/DISABLE */
-		GPIO_LOOKUP("gpio_crystalcove", 94, "panel", GPIO_ACTIVE_HIGH),
+		GPIO_LOOKUP("crystal_cove_gpio", 94, "panel", GPIO_ACTIVE_HIGH),
 		{ },
 	},
 };
-- 
2.9.3

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

end of thread, other threads:[~2016-10-23 23:23 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-10-20  9:36 [PATCH v1 1/1] mfd: intel_soc_pmic_core: Use explicit name of GPIO controller Andy Shevchenko
2016-10-20 11:13 ` Ville Syrjälä
2016-10-20 11:45   ` Andy Shevchenko
2016-10-23 23:22     ` Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox