[media] v4l2: remove g_chip_ident from bridge drivers where it is easy to do so
VIDIOC_DBG_G_CHIP_IDENT has been replaced by VIDIOC_DBG_G_CHIP_INFO. Remove g_chip_ident support from bridge drivers since it is no longer needed. This patch takes care of all the trivial cases. Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com> Acked-by: Scott Jiang <scott.jiang.linux@gmail.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
This commit is contained in:

committed by
Mauro Carvalho Chehab

parent
191b79b088
commit
abca2056dc
@@ -1288,38 +1288,6 @@ static const struct v4l2_file_operations mpeg_fops = {
|
||||
.unlocked_ioctl = video_ioctl2,
|
||||
};
|
||||
|
||||
static int saa7164_g_chip_ident(struct file *file, void *fh,
|
||||
struct v4l2_dbg_chip_ident *chip)
|
||||
{
|
||||
struct saa7164_port *port = ((struct saa7164_encoder_fh *)fh)->port;
|
||||
struct saa7164_dev *dev = port->dev;
|
||||
dprintk(DBGLVL_ENC, "%s()\n", __func__);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
#ifdef CONFIG_VIDEO_ADV_DEBUG
|
||||
static int saa7164_g_register(struct file *file, void *fh,
|
||||
struct v4l2_dbg_register *reg)
|
||||
{
|
||||
struct saa7164_port *port = ((struct saa7164_encoder_fh *)fh)->port;
|
||||
struct saa7164_dev *dev = port->dev;
|
||||
dprintk(DBGLVL_ENC, "%s()\n", __func__);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
static int saa7164_s_register(struct file *file, void *fh,
|
||||
const struct v4l2_dbg_register *reg)
|
||||
{
|
||||
struct saa7164_port *port = ((struct saa7164_encoder_fh *)fh)->port;
|
||||
struct saa7164_dev *dev = port->dev;
|
||||
dprintk(DBGLVL_ENC, "%s()\n", __func__);
|
||||
|
||||
return 0;
|
||||
}
|
||||
#endif
|
||||
|
||||
static const struct v4l2_ioctl_ops mpeg_ioctl_ops = {
|
||||
.vidioc_s_std = vidioc_s_std,
|
||||
.vidioc_enum_input = vidioc_enum_input,
|
||||
@@ -1340,11 +1308,6 @@ static const struct v4l2_ioctl_ops mpeg_ioctl_ops = {
|
||||
.vidioc_s_ext_ctrls = vidioc_s_ext_ctrls,
|
||||
.vidioc_try_ext_ctrls = vidioc_try_ext_ctrls,
|
||||
.vidioc_queryctrl = vidioc_queryctrl,
|
||||
.vidioc_g_chip_ident = saa7164_g_chip_ident,
|
||||
#ifdef CONFIG_VIDEO_ADV_DEBUG
|
||||
.vidioc_g_register = saa7164_g_register,
|
||||
.vidioc_s_register = saa7164_s_register,
|
||||
#endif
|
||||
};
|
||||
|
||||
static struct video_device saa7164_mpeg_template = {
|
||||
|
Reference in New Issue
Block a user