Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

[media] indycam: remove g_chip_ident op

This is no longer needed since the core now handles this through DBG_G_CHIP_INFO.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>

authored by

Hans Verkuil and committed by
Mauro Carvalho Chehab
cc3590db 5f710575

-12
-12
drivers/media/platform/indycam.c
··· 23 23 #include <linux/videodev2.h> 24 24 #include <linux/i2c.h> 25 25 #include <media/v4l2-device.h> 26 - #include <media/v4l2-chip-ident.h> 27 26 28 27 #include "indycam.h" 29 28 ··· 282 283 283 284 /* I2C-interface */ 284 285 285 - static int indycam_g_chip_ident(struct v4l2_subdev *sd, 286 - struct v4l2_dbg_chip_ident *chip) 287 - { 288 - struct i2c_client *client = v4l2_get_subdevdata(sd); 289 - struct indycam *camera = to_indycam(sd); 290 - 291 - return v4l2_chip_ident_i2c_client(client, chip, V4L2_IDENT_INDYCAM, 292 - camera->version); 293 - } 294 - 295 286 /* ----------------------------------------------------------------------- */ 296 287 297 288 static const struct v4l2_subdev_core_ops indycam_core_ops = { 298 - .g_chip_ident = indycam_g_chip_ident, 299 289 .g_ctrl = indycam_g_ctrl, 300 290 .s_ctrl = indycam_s_ctrl, 301 291 };