Commit 18ccf8b9 authored by Piyush Goyal's avatar Piyush Goyal Committed by Mark Brown

regulator: mt6360: fix spelling mistake: "regulaotr" -> "regulator"

There are some spelling mistakes in two dev_err messages. Fix these.
Signed-off-by: default avatarPiyush Goyal <piyushgoyaliit@gmail.com>
Link: https://lore.kernel.org/r/20200827133419.36151-1-piyushgoyaliit@gmail.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 9b1d3422
...@@ -424,14 +424,14 @@ static int mt6360_regulator_probe(struct platform_device *pdev) ...@@ -424,14 +424,14 @@ static int mt6360_regulator_probe(struct platform_device *pdev)
rdev = devm_regulator_register(&pdev->dev, &rdesc->desc, &config); rdev = devm_regulator_register(&pdev->dev, &rdesc->desc, &config);
if (IS_ERR(rdev)) { 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); return PTR_ERR(rdev);
} }
ret = mt6360_regulator_irq_register(pdev, rdev, rdesc->irq_tables, ret = mt6360_regulator_irq_register(pdev, rdev, rdesc->irq_tables,
rdesc->irq_table_size); rdesc->irq_table_size);
if (ret) { 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; return ret;
} }
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment