Skip to content

Commit c58dcab

Browse files
author
Laurent Pinchart
committed
drm: rcar-du: Replace DRM_INFO() with drm_info()
drm_info() adds proper context to the kernel log message, as it receives the drm_device pointer. It is thus preferred over DRM_INFO(). Replace the latter with the former. Signed-off-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com> Reviewed-by: Kieran Bingham <kieran.bingham+renesas@ideasonboard.com>
1 parent 2b9d7b6 commit c58dcab

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/gpu/drm/renesas/rcar-du/rcar_du_drv.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -710,7 +710,7 @@ static int rcar_du_probe(struct platform_device *pdev)
710710
if (ret)
711711
goto error;
712712

713-
DRM_INFO("Device %s probed\n", dev_name(&pdev->dev));
713+
drm_info(&rcdu->ddev, "Device %s probed\n", dev_name(&pdev->dev));
714714

715715
drm_fbdev_generic_setup(&rcdu->ddev, 32);
716716

0 commit comments

Comments
 (0)