linux-kernel.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Michael Klein <michael@fossekall.de>
To: Andrei Stefanescu <andrei.stefanescu@microchip.com>,
	Liam Girdwood <lgirdwood@gmail.com>,
	Mark Brown <broonie@kernel.org>, Rob Herring <robh+dt@kernel.org>,
	Support Opensource <support.opensource@diasemi.com>,
	Lee Jones <lee.jones@linaro.org>
Cc: linux-kernel@vger.kernel.org, trivial@kernel.org,
	Michael Klein <michael@fossekall.de>
Subject: [PATCH v2 3/3] mfd: da9055: fix "REGULATOR" spelling in register content macro
Date: Fri, 27 Nov 2020 13:52:02 +0100	[thread overview]
Message-ID: <20201127125202.23917-3-michael@fossekall.de> (raw)
In-Reply-To: <20201127125202.23917-1-michael@fossekall.de>

"REGUALTOR" -> "REGULATOR"

Signed-off-by: Michael Klein <michael@fossekall.de>
---
Changes in v2:
  - split patch
  - make subject line more forthcoming

 drivers/regulator/da9055-regulator.c | 4 ++--
 include/linux/mfd/da9055/reg.h       | 4 ++--
 2 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/drivers/regulator/da9055-regulator.c b/drivers/regulator/da9055-regulator.c
index 73ff5fc7d8d7..c0394ac5e60a 100644
--- a/drivers/regulator/da9055-regulator.c
+++ b/drivers/regulator/da9055-regulator.c
@@ -184,7 +184,7 @@ static int da9055_regulator_get_voltage_sel(struct regulator_dev *rdev)
 	ret &= info->conf.sel_mask;
 
 	/* Get the voltage for the active register set A/B */
-	if (ret == DA9055_REGUALTOR_SET_A)
+	if (ret == DA9055_REGULATOR_SET_A)
 		ret = da9055_reg_read(regulator->da9055, volt.reg_a);
 	else
 		ret = da9055_reg_read(regulator->da9055, volt.reg_b);
@@ -231,7 +231,7 @@ static int da9055_regulator_set_voltage_sel(struct regulator_dev *rdev,
 	ret &= info->conf.sel_mask;
 
 	/* Set the voltage */
-	if (ret == DA9055_REGUALTOR_SET_A)
+	if (ret == DA9055_REGULATOR_SET_A)
 		return da9055_reg_update(regulator->da9055, info->volt.reg_a,
 					 info->volt.v_mask, selector);
 	else
diff --git a/include/linux/mfd/da9055/reg.h b/include/linux/mfd/da9055/reg.h
index 54a717b6c3de..1204e6b152d5 100644
--- a/include/linux/mfd/da9055/reg.h
+++ b/include/linux/mfd/da9055/reg.h
@@ -344,8 +344,8 @@
 #define	DA9055_VLDO_GPI_MASK		0x60
 #define	DA9055_LDO_CONF_SHIFT		0x07
 #define	DA9055_LDO_CONF_MASK		0x80
-#define	DA9055_REGUALTOR_SET_A		0x00
-#define	DA9055_REGUALTOR_SET_B		0x10
+#define	DA9055_REGULATOR_SET_A		0x00
+#define	DA9055_REGULATOR_SET_B		0x10
 
 /* DA9055_REG_ADC_MAN (addr=0x1B) */
 #define	DA9055_ADC_MUX_SHIFT		0
-- 
2.29.2


  parent reply	other threads:[~2020-11-27 12:53 UTC|newest]

Thread overview: 12+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2020-11-24 18:37 [PATCH 0/2] Fix spelling of "regulator" Michael Klein
2020-11-24 18:37 ` [PATCH 1/2] Documentation: mcp16502-regulator: fix spelling mistake Michael Klein
2020-11-24 18:37 ` [PATCH 2/2] mfd: fix spelling mistakes Michael Klein
2020-11-27  9:31   ` Lee Jones
2020-11-27 12:52     ` [PATCH v2 1/3] Documentation: mcp16502-regulator: fix spelling mistake Michael Klein
2020-11-27 12:52       ` [PATCH v2 2/3] mfd: si476x-core.h: fix "regulator" spelling in comment Michael Klein
2020-11-27 13:19         ` Lee Jones
2020-11-27 12:52       ` Michael Klein [this message]
2020-11-27 13:07         ` [PATCH v2 3/3] mfd: da9055: fix "REGULATOR" spelling in register content macro Adam Thomson
2020-11-27 13:18         ` Lee Jones
2020-11-27 13:48       ` [PATCH v2 1/3] Documentation: mcp16502-regulator: fix spelling mistake Mark Brown
2020-11-25 12:00 ` [PATCH 0/2] Fix spelling of "regulator" Mark Brown

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20201127125202.23917-3-michael@fossekall.de \
    --to=michael@fossekall.de \
    --cc=andrei.stefanescu@microchip.com \
    --cc=broonie@kernel.org \
    --cc=lee.jones@linaro.org \
    --cc=lgirdwood@gmail.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=robh+dt@kernel.org \
    --cc=support.opensource@diasemi.com \
    --cc=trivial@kernel.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).