media: ti-vpe: cal: Use ctx_info() instead of v4l2_info()
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Mon, 6 Jul 2020 18:36:02 +0000 (20:36 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Sun, 19 Jul 2020 07:25:04 +0000 (09:25 +0200)
Use the context-specific print macro to replace the last usage of the
v4l2_* print macros.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
Reviewed-by: Benoit Parrot <bparrot@ti.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/media/platform/ti-vpe/cal.c

index 22679ba..b55c8fb 100644 (file)
@@ -1893,8 +1893,8 @@ static int cal_complete_ctx(struct cal_ctx *ctx)
        if (ret < 0)
                return ret;
 
-       v4l2_info(&ctx->v4l2_dev, "V4L2 device registered as %s\n",
-                 video_device_node_name(vfd));
+       ctx_info(ctx, "V4L2 device registered as %s\n",
+                video_device_node_name(vfd));
 
        return 0;
 }