The v4l2_dev field of the cal_dev structure is initialized but never
used. Drop it.
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>
        void __iomem            *base;
        struct resource         *res;
        struct platform_device  *pdev;
-       struct v4l2_device      v4l2_dev;
 
        const struct cal_data   *data;
 
                return -ENODEV;
        }
 
-       /* set pseudo v4l2 device name so we can use v4l2_printk */
-       strscpy(cal->v4l2_dev.name, CAL_MODULE_NAME,
-               sizeof(cal->v4l2_dev.name));
-
        /* save pdev pointer */
        cal->pdev = pdev;