[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <d4218947e354aee45589acb1060ce41727a26750.1681646904.git.jahau@rocketmail.com>
Date: Sun, 16 Apr 2023 14:44:32 +0200
From: Jakob Hauser <jahau@...ketmail.com>
To: Sebastian Reichel <sre@...nel.org>, Lee Jones <lee@...nel.org>,
Liam Girdwood <lgirdwood@...il.com>,
Mark Brown <broonie@...nel.org>,
Rob Herring <robh+dt@...nel.org>,
Krzysztof Kozlowski <krzysztof.kozlowski+dt@...aro.org>
Cc: Beomho Seo <beomho.seo@...sung.com>,
Chanwoo Choi <cw00.choi@...sung.com>,
Stephan Gerhold <stephan@...hold.net>,
Raymond Hackley <raymondhackley@...tonmail.com>,
Pavel Machek <pavel@....cz>, Axel Lin <axel.lin@...ics.com>,
ChiYuan Huang <cy_huang@...htek.com>, linux-pm@...r.kernel.org,
devicetree@...r.kernel.org, linux-kernel@...r.kernel.org,
phone-devel@...r.kernel.org, ~postmarketos/upstreaming@...ts.sr.ht,
Jakob Hauser <jahau@...ketmail.com>
Subject: [PATCH v2 5/9] regulator: rt5033: Change regulator names to lowercase
Lowercase is preferred for node names.
Cc: Beomho Seo <beomho.seo@...sung.com>
Cc: Chanwoo Choi <cw00.choi@...sung.com>
Cc: Axel Lin <axel.lin@...ics.com>
Cc: ChiYuan Huang <cy_huang@...htek.com>
Signed-off-by: Jakob Hauser <jahau@...ketmail.com>
---
drivers/regulator/rt5033-regulator.c | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
diff --git a/drivers/regulator/rt5033-regulator.c b/drivers/regulator/rt5033-regulator.c
index 2ba74f205543..dee272dc81df 100644
--- a/drivers/regulator/rt5033-regulator.c
+++ b/drivers/regulator/rt5033-regulator.c
@@ -41,8 +41,8 @@ static const struct regulator_ops rt5033_buck_ops = {
static const struct regulator_desc rt5033_supported_regulators[] = {
[RT5033_BUCK] = {
- .name = "BUCK",
- .of_match = of_match_ptr("BUCK"),
+ .name = "buck",
+ .of_match = of_match_ptr("buck"),
.regulators_node = of_match_ptr("regulators"),
.id = RT5033_BUCK,
.ops = &rt5033_buck_ops,
@@ -57,8 +57,8 @@ static const struct regulator_desc rt5033_supported_regulators[] = {
.vsel_mask = RT5033_BUCK_CTRL_MASK,
},
[RT5033_LDO] = {
- .name = "LDO",
- .of_match = of_match_ptr("LDO"),
+ .name = "ldo",
+ .of_match = of_match_ptr("ldo"),
.regulators_node = of_match_ptr("regulators"),
.id = RT5033_LDO,
.ops = &rt5033_buck_ops,
@@ -73,8 +73,8 @@ static const struct regulator_desc rt5033_supported_regulators[] = {
.vsel_mask = RT5033_LDO_CTRL_MASK,
},
[RT5033_SAFE_LDO] = {
- .name = "SAFE_LDO",
- .of_match = of_match_ptr("SAFE_LDO"),
+ .name = "safe_ldo",
+ .of_match = of_match_ptr("safe_ldo"),
.regulators_node = of_match_ptr("regulators"),
.id = RT5033_SAFE_LDO,
.ops = &rt5033_safe_ldo_ops,
--
2.39.2
Powered by blists - more mailing lists