From: Matti Vaittinen Date: Mon, 5 Oct 2020 08:19:24 +0000 (+0300) Subject: regulator: bd9576: Fix print X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=184cdb8f6d391b379bb768b0c203600f5657176b;p=linux.git regulator: bd9576: Fix print 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 Link: https://lore.kernel.org/r/c4f55add237455555df0597c72052022f7a669f6.1601885841.git.matti.vaittinen@fi.rohmeurope.com Signed-off-by: Mark Brown --- diff --git a/drivers/regulator/bd9576-regulator.c b/drivers/regulator/bd9576-regulator.c index 4137fa9a73bb8..a8b5832a5a1bb 100644 --- a/drivers/regulator/bd9576-regulator.c +++ b/drivers/regulator/bd9576-regulator.c @@ -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");