pwm: renesas-tpu: Drop confusing registered message
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 16 Mar 2020 10:32:16 +0000 (11:32 +0100)
committerThierry Reding <thierry.reding@gmail.com>
Mon, 30 Mar 2020 16:03:06 +0000 (18:03 +0200)
During device probe, the message

    TPU PWM -1 registered

is printed.

While the "-1" looks suspicious, it is perfectly normal for a device
instantiated from DT.

Remove the message, as there are no non-DT users left, and other drivers
don't print such messages either.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Uwe Kleine-König <u.kleine-koenig@pengutronix.de>
Signed-off-by: Thierry Reding <thierry.reding@gmail.com>
drivers/pwm/pwm-renesas-tpu.c

index 8032acc..81ad5a5 100644 (file)
@@ -424,8 +424,6 @@ static int tpu_probe(struct platform_device *pdev)
                return ret;
        }
 
-       dev_info(&pdev->dev, "TPU PWM %d registered\n", tpu->pdev->id);
-
        return 0;
 }