aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/media/atomisp/i2c/ov5693/ov5693.c
diff options
context:
space:
mode:
authorAlan Cox <alan@linux.intel.com>2017-03-20 14:39:56 +0000
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2017-03-23 14:00:58 +0100
commit2c14d2e426c3f91e94d3e29b22bb4abdfae10f9d (patch)
treea0bbf502e8d1eb802c1a10122c5d772fa61c048d /drivers/staging/media/atomisp/i2c/ov5693/ov5693.c
parentspeakup: Fix spurious space pronunciation on spelling letters (diff)
downloadlinux-dev-2c14d2e426c3f91e94d3e29b22bb4abdfae10f9d.tar.xz
linux-dev-2c14d2e426c3f91e94d3e29b22bb4abdfae10f9d.zip
ov5693: remove unused function
It's commented out in the tree with a note saying to remove it. So let's remove it. Signed-off-by: Alan Cox <alan@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to '')
-rw-r--r--drivers/staging/media/atomisp/i2c/ov5693/ov5693.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/drivers/staging/media/atomisp/i2c/ov5693/ov5693.c b/drivers/staging/media/atomisp/i2c/ov5693/ov5693.c
index ac7598291b95..5e9dafe7cc32 100644
--- a/drivers/staging/media/atomisp/i2c/ov5693/ov5693.c
+++ b/drivers/staging/media/atomisp/i2c/ov5693/ov5693.c
@@ -82,30 +82,7 @@ static int vcm_ad_i2c_wr8(struct i2c_client *client, u8 reg, u8 val)
}
return 0;
}
-/*TODO: remove this unuseful i2c writer helper*/
-/*
-static int vcm_ad_i2c_wr16(struct i2c_client *client, u8 reg, u16 val)
-{
- int err;
- struct i2c_msg msg;
- u8 buf[3];
- buf[0] = reg;
- buf[1] = (u8)(val >> 8);
- buf[2] = (u8)(val & 0xff);
- msg.addr = VCM_ADDR;
- msg.flags = 0;
- msg.len = 3;
- msg.buf = &buf[0];
- err = i2c_transfer(client->adapter, &msg, 1);
- if (err != 1) {
- dev_err(&client->dev, "%s: vcm i2c fail, err code = %d\n",
- __func__, err);
- return -EIO;
- }
- return 0;
-}
-*/
static int ad5823_i2c_write(struct i2c_client *client, u8 reg, u8 val)
{
struct i2c_msg msg;