aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/media/video/cs5345.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/media/video/cs5345.c')
-rw-r--r--drivers/media/video/cs5345.c7
1 files changed, 0 insertions, 7 deletions
diff --git a/drivers/media/video/cs5345.c b/drivers/media/video/cs5345.c
index 87e91072627a..9714059ee949 100644
--- a/drivers/media/video/cs5345.c
+++ b/drivers/media/video/cs5345.c
@@ -141,11 +141,6 @@ static int cs5345_log_status(struct v4l2_subdev *sd)
141 return 0; 141 return 0;
142} 142}
143 143
144static int cs5345_command(struct i2c_client *client, unsigned cmd, void *arg)
145{
146 return v4l2_subdev_command(i2c_get_clientdata(client), cmd, arg);
147}
148
149/* ----------------------------------------------------------------------- */ 144/* ----------------------------------------------------------------------- */
150 145
151static const struct v4l2_subdev_core_ops cs5345_core_ops = { 146static const struct v4l2_subdev_core_ops cs5345_core_ops = {
@@ -214,8 +209,6 @@ MODULE_DEVICE_TABLE(i2c, cs5345_id);
214 209
215static struct v4l2_i2c_driver_data v4l2_i2c_data = { 210static struct v4l2_i2c_driver_data v4l2_i2c_data = {
216 .name = "cs5345", 211 .name = "cs5345",
217 .driverid = I2C_DRIVERID_CS5345,
218 .command = cs5345_command,
219 .probe = cs5345_probe, 212 .probe = cs5345_probe,
220 .remove = cs5345_remove, 213 .remove = cs5345_remove,
221 .id_table = cs5345_id, 214 .id_table = cs5345_id,