regulator: bd9576: Fix print
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Mon, 5 Oct 2020 08:19:24 +0000 (11:19 +0300)
committerMark Brown <broonie@kernel.org>
Mon, 5 Oct 2020 15:18:40 +0000 (16:18 +0100)
The print in probe is done using pr_info. Correct print call would be
dev_dbg because:
 - Severity should really be dbg
 - The dev pointer is given as first argument

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Link: https://lore.kernel.org/r/c4f55add237455555df0597c72052022f7a669f6.1601885841.git.matti.vaittinen@fi.rohmeurope.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/bd9576-regulator.c

index 4137fa9..a8b5832 100644 (file)
@@ -275,7 +275,7 @@ static int bd957x_probe(struct platform_device *pdev)
                dev_dbg(&pdev->dev, "Found BD9576MUF\n");
                break;
        case ROHM_CHIP_TYPE_BD9573:
-               pr_info(&pdev->dev, "Found BD9573MUF\n");
+               dev_dbg(&pdev->dev, "Found BD9573MUF\n");
                break;
        default:
                dev_err(&pdev->dev, "Unsupported chip type\n");