diff options
author | Hans Verkuil <hans.verkuil@cisco.com> | 2013-05-29 05:59:51 -0400 |
---|---|---|
committer | Mauro Carvalho Chehab <mchehab@redhat.com> | 2013-06-17 07:52:10 -0400 |
commit | e12771100c93e101a7a8b302b6c5d57cff7b1551 (patch) | |
tree | a831f1d64d92142e5ce4cbcdfcd5a6f623db04e9 /drivers/media/i2c/adv7175.c | |
parent | 6be89daa03a4c99b0d22a59a660b225a592ed0a9 (diff) |
[media] media/i2c: 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>
Acked-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Acked-by: Lad, Prabhakar <prabhakar.csengg@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
Diffstat (limited to 'drivers/media/i2c/adv7175.c')
-rw-r--r-- | drivers/media/i2c/adv7175.c | 9 |
1 files changed, 0 insertions, 9 deletions
diff --git a/drivers/media/i2c/adv7175.c b/drivers/media/i2c/adv7175.c index eaefa50b8d28..b88f3b3d5ed9 100644 --- a/drivers/media/i2c/adv7175.c +++ b/drivers/media/i2c/adv7175.c | |||
@@ -32,7 +32,6 @@ | |||
32 | #include <linux/i2c.h> | 32 | #include <linux/i2c.h> |
33 | #include <linux/videodev2.h> | 33 | #include <linux/videodev2.h> |
34 | #include <media/v4l2-device.h> | 34 | #include <media/v4l2-device.h> |
35 | #include <media/v4l2-chip-ident.h> | ||
36 | 35 | ||
37 | MODULE_DESCRIPTION("Analog Devices ADV7175 video encoder driver"); | 36 | MODULE_DESCRIPTION("Analog Devices ADV7175 video encoder driver"); |
38 | MODULE_AUTHOR("Dave Perks"); | 37 | MODULE_AUTHOR("Dave Perks"); |
@@ -355,13 +354,6 @@ static int adv7175_s_fmt(struct v4l2_subdev *sd, | |||
355 | return ret; | 354 | return ret; |
356 | } | 355 | } |
357 | 356 | ||
358 | static int adv7175_g_chip_ident(struct v4l2_subdev *sd, struct v4l2_dbg_chip_ident *chip) | ||
359 | { | ||
360 | struct i2c_client *client = v4l2_get_subdevdata(sd); | ||
361 | |||
362 | return v4l2_chip_ident_i2c_client(client, chip, V4L2_IDENT_ADV7175, 0); | ||
363 | } | ||
364 | |||
365 | static int adv7175_s_power(struct v4l2_subdev *sd, int on) | 357 | static int adv7175_s_power(struct v4l2_subdev *sd, int on) |
366 | { | 358 | { |
367 | if (on) | 359 | if (on) |
@@ -375,7 +367,6 @@ static int adv7175_s_power(struct v4l2_subdev *sd, int on) | |||
375 | /* ----------------------------------------------------------------------- */ | 367 | /* ----------------------------------------------------------------------- */ |
376 | 368 | ||
377 | static const struct v4l2_subdev_core_ops adv7175_core_ops = { | 369 | static const struct v4l2_subdev_core_ops adv7175_core_ops = { |
378 | .g_chip_ident = adv7175_g_chip_ident, | ||
379 | .init = adv7175_init, | 370 | .init = adv7175_init, |
380 | .s_power = adv7175_s_power, | 371 | .s_power = adv7175_s_power, |
381 | }; | 372 | }; |