aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator/mt6360-regulator.c
diff options
context:
space:
mode:
authorPiyush Goyal <piyushgoyaliit@gmail.com>2020-08-27 19:04:19 +0530
committerMark Brown <broonie@kernel.org>2020-08-27 14:55:44 +0100
commit18ccf8b9f8645e82c65c8c9c9095f456a4eb56a3 (patch)
treef0a978440994d02f6cc50c446b6866e791e03cc4 /drivers/regulator/mt6360-regulator.c
parentdt-bindings: regulator: mt6360: Add DT binding documentation (diff)
downloadlinux-dev-18ccf8b9f8645e82c65c8c9c9095f456a4eb56a3.tar.xz
linux-dev-18ccf8b9f8645e82c65c8c9c9095f456a4eb56a3.zip
regulator: mt6360: fix spelling mistake: "regulaotr" -> "regulator"
There are some spelling mistakes in two dev_err messages. Fix these. Signed-off-by: Piyush Goyal <piyushgoyaliit@gmail.com> Link: https://lore.kernel.org/r/20200827133419.36151-1-piyushgoyaliit@gmail.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/mt6360-regulator.c')
-rw-r--r--drivers/regulator/mt6360-regulator.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/mt6360-regulator.c b/drivers/regulator/mt6360-regulator.c
index 89ce379520ed..15308ee29c13 100644
--- a/drivers/regulator/mt6360-regulator.c
+++ b/drivers/regulator/mt6360-regulator.c
@@ -424,14 +424,14 @@ static int mt6360_regulator_probe(struct platform_device *pdev)
rdev = devm_regulator_register(&pdev->dev, &rdesc->desc, &config);
if (IS_ERR(rdev)) {
- dev_err(&pdev->dev, "Failed to register %d regulaotr\n", i);
+ dev_err(&pdev->dev, "Failed to register %d regulator\n", i);
return PTR_ERR(rdev);
}
ret = mt6360_regulator_irq_register(pdev, rdev, rdesc->irq_tables,
rdesc->irq_table_size);
if (ret) {
- dev_err(&pdev->dev, "Failed to register %d regulaotr irqs\n", i);
+ dev_err(&pdev->dev, "Failed to register %d regulator irqs\n", i);
return ret;
}
}