Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1688838

[PATCH 2/2] mfd: axp20x: use correct platform device id for many PEK

From Quentin Schulz <quentin.schulz@free-electrons.com>
Newsgroups linux.kernel
Subject [PATCH 2/2] mfd: axp20x: use correct platform device id for many PEK
Date 2017-07-17 12:00 +0200
Message-ID <u4aYP-3lP-29@gated-at.bofh.it> (permalink)
References <u4aYO-3lP-7@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


According to their datasheets, the AXP221, AXP223, AXP288, AXP803,
AXP809 and AXP813 PEK have different values for startup time bits from
the AXP20X, let's use the platform device id with the correct values.

Signed-off-by: Quentin Schulz <quentin.schulz@free-electrons.com>
---
 drivers/mfd/axp20x.c | 12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

diff --git a/drivers/mfd/axp20x.c b/drivers/mfd/axp20x.c
index ec4271ca065c..336de66ca408 100644
--- a/drivers/mfd/axp20x.c
+++ b/drivers/mfd/axp20x.c
@@ -677,7 +677,7 @@ static struct mfd_cell axp20x_cells[] = {
 
 static struct mfd_cell axp221_cells[] = {
 	{
-		.name		= "axp20x-pek",
+		.name		= "axp221-pek",
 		.num_resources	= ARRAY_SIZE(axp22x_pek_resources),
 		.resources	= axp22x_pek_resources,
 	}, {
@@ -702,7 +702,7 @@ static struct mfd_cell axp221_cells[] = {
 
 static struct mfd_cell axp223_cells[] = {
 	{
-		.name			= "axp20x-pek",
+		.name			= "axp221-pek",
 		.num_resources		= ARRAY_SIZE(axp22x_pek_resources),
 		.resources		= axp22x_pek_resources,
 	}, {
@@ -835,7 +835,7 @@ static struct mfd_cell axp288_cells[] = {
 		.resources = axp288_fuel_gauge_resources,
 	},
 	{
-		.name = "axp20x-pek",
+		.name = "axp221-pek",
 		.num_resources = ARRAY_SIZE(axp288_power_button_resources),
 		.resources = axp288_power_button_resources,
 	},
@@ -846,7 +846,7 @@ static struct mfd_cell axp288_cells[] = {
 
 static struct mfd_cell axp803_cells[] = {
 	{
-		.name			= "axp20x-pek",
+		.name			= "axp221-pek",
 		.num_resources		= ARRAY_SIZE(axp803_pek_resources),
 		.resources		= axp803_pek_resources,
 	},
@@ -862,7 +862,7 @@ static struct mfd_cell axp806_cells[] = {
 
 static struct mfd_cell axp809_cells[] = {
 	{
-		.name			= "axp20x-pek",
+		.name			= "axp221-pek",
 		.num_resources		= ARRAY_SIZE(axp809_pek_resources),
 		.resources		= axp809_pek_resources,
 	}, {
@@ -873,7 +873,7 @@ static struct mfd_cell axp809_cells[] = {
 
 static struct mfd_cell axp813_cells[] = {
 	{
-		.name			= "axp20x-pek",
+		.name			= "axp221-pek",
 		.num_resources		= ARRAY_SIZE(axp803_pek_resources),
 		.resources		= axp803_pek_resources,
 	}
-- 
2.11.0

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 0/2] use correct values for startup time bits for AXP22X/AXP8XX PEKs Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-07-17 12:00 +0200
  [PATCH 2/2] mfd: axp20x: use correct platform device id for many PEK Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-07-17 12:00 +0200
    Re: [PATCH 2/2] mfd: axp20x: use correct platform device id for many  PEK Lee Jones <lee.jones@linaro.org> - 2017-07-18 09:20 +0200
      Re: [PATCH 2/2] mfd: axp20x: use correct platform device id for many  PEK Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-07-18 09:50 +0200
        Re: [PATCH 2/2] mfd: axp20x: use correct platform device id for many  PEK Lee Jones <lee.jones@linaro.org> - 2017-07-18 11:50 +0200
  Re: [PATCH 0/2] use correct values for startup time bits for  AXP22X/AXP8XX PEKs Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-07-17 13:20 +0200
    Re: [PATCH 0/2] use correct values for startup time bits for  AXP22X/AXP8XX PEKs Lee Jones <lee.jones@linaro.org> - 2017-07-18 09:20 +0200
      Re: [PATCH 0/2] use correct values for startup time bits for  AXP22X/AXP8XX PEKs Quentin Schulz <quentin.schulz@free-electrons.com> - 2017-07-18 09:30 +0200
        Re: [PATCH 0/2] use correct values for startup time bits for  AXP22X/AXP8XX PEKs Chen-Yu Tsai <wens@csie.org> - 2017-07-18 09:50 +0200
          Re: [PATCH 0/2] use correct values for startup time bits for  AXP22X/AXP8XX PEKs Lee Jones <lee.jones@linaro.org> - 2017-07-18 12:00 +0200

csiph-web