forked from luck/tmp_suning_uos_patched
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>
This commit is contained in:
parent
9b1d3422e1
commit
18ccf8b9f8
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue
Block a user