All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] regulator:  Fix parameter declaration and spelling mistake.
@ 2022-07-05  7:14 Zhang Jiaming
  2022-07-06 10:17 ` Mark Brown
  0 siblings, 1 reply; 2+ messages in thread
From: Zhang Jiaming @ 2022-07-05  7:14 UTC (permalink / raw)
  To: lgirdwood, broonie; +Cc: linux-kernel, liqiong, renyu, Zhang Jiaming

Use Complete data type declaration of 'sel' in ti_abb_set_voltage_sel().
Fix spelling of 'are'nt' in comments.

Signed-off-by: Zhang Jiaming <jiaming@nfschina.com>
---
 drivers/regulator/ti-abb-regulator.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/regulator/ti-abb-regulator.c b/drivers/regulator/ti-abb-regulator.c
index cf18452386ca..ce00db27589a 100644
--- a/drivers/regulator/ti-abb-regulator.c
+++ b/drivers/regulator/ti-abb-regulator.c
@@ -301,7 +301,7 @@ static int ti_abb_set_opp(struct regulator_dev *rdev, struct ti_abb *abb,
  *
  * Return: 0 on success or appropriate error value when fails
  */
-static int ti_abb_set_voltage_sel(struct regulator_dev *rdev, unsigned sel)
+static int ti_abb_set_voltage_sel(struct regulator_dev *rdev, unsigned int sel)
 {
 	const struct regulator_desc *desc = rdev->desc;
 	struct ti_abb *abb = rdev_get_drvdata(rdev);
@@ -336,7 +336,7 @@ static int ti_abb_set_voltage_sel(struct regulator_dev *rdev, unsigned sel)
 
 	info = &abb->info[sel];
 	/*
-	 * When Linux kernel is starting up, we are'nt sure of the
+	 * When Linux kernel is starting up, we aren't sure of the
 	 * Bias configuration that bootloader has configured.
 	 * So, we get to know the actual setting the first time
 	 * we are asked to transition.
-- 
2.34.1


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

* Re: [PATCH] regulator: Fix parameter declaration and spelling mistake.
  2022-07-05  7:14 [PATCH] regulator: Fix parameter declaration and spelling mistake Zhang Jiaming
@ 2022-07-06 10:17 ` Mark Brown
  0 siblings, 0 replies; 2+ messages in thread
From: Mark Brown @ 2022-07-06 10:17 UTC (permalink / raw)
  To: lgirdwood, jiaming; +Cc: renyu, linux-kernel, liqiong

On Tue, 5 Jul 2022 15:14:45 +0800, Zhang Jiaming wrote:
> Use Complete data type declaration of 'sel' in ti_abb_set_voltage_sel().
> Fix spelling of 'are'nt' in comments.
> 
> 

Applied to

   https://git.kernel.org/pub/scm/linux/kernel/git/broonie/regulator.git for-next

Thanks!

[1/1] regulator: Fix parameter declaration and spelling mistake.
      commit: d08412328e4ff4928a60438e62e34e67f687a740

All being well this means that it will be integrated into the linux-next
tree (usually sometime in the next 24 hours) and sent to Linus during
the next merge window (or sooner if it is a bug fix), however if
problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing
and review of the tree, please engage with people reporting problems and
send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they
should be sent as incremental updates against current git, existing
patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying
to this mail.

Thanks,
Mark

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

end of thread, other threads:[~2022-07-06 10:17 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-05  7:14 [PATCH] regulator: Fix parameter declaration and spelling mistake Zhang Jiaming
2022-07-06 10:17 ` Mark Brown

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.