media: davinci: vpif: drop probe printk
authorJohan Hovold <johan@kernel.org>
Wed, 22 Dec 2021 14:20:25 +0000 (15:20 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sun, 23 Jan 2022 20:18:43 +0000 (21:18 +0100)
Drivers should generally not print anything for a successful probe, and
printing "success" before probe is done makes no sense.

Drop the unnecessary and misleading dev_info() call from probe.

Signed-off-by: Johan Hovold <johan@kernel.org>
Reviewed-by: Lad Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/platform/davinci/vpif.c

index 4a260f4ed236bd538b6493da4ef44ab2ef76ae29..03b4e51bb13a699a56b0f9d1f022ff99c74d6627 100644 (file)
@@ -456,8 +456,6 @@ static int vpif_probe(struct platform_device *pdev)
        pm_runtime_enable(&pdev->dev);
        pm_runtime_get(&pdev->dev);
 
-       dev_info(&pdev->dev, "vpif probe success\n");
-
        /*
         * If VPIF Node has endpoints, assume "new" DT support,
         * where capture and display drivers don't have DT nodes