projects
/
openwrt
/
staging
/
blogic.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
3be27d3
)
cx23885: Drop empty i2c algorithm control callback
author
Jean Delvare
<
[email protected]
>
Sat, 13 Oct 2007 21:56:32 +0000
(23:56 +0200)
committer
Jean Delvare
<
[email protected]
>
Sat, 13 Oct 2007 21:56:32 +0000
(23:56 +0200)
i2c_algorithm.algo_control is about to be removed.
Signed-off-by: Jean Delvare <
[email protected]
>
Reviewed-by: Michael Krufky <
[email protected]
>
Acked-by: Mauro Carvalho Chehab <
[email protected]
>
drivers/media/video/cx23885/cx23885-i2c.c
patch
|
blob
|
history
diff --git
a/drivers/media/video/cx23885/cx23885-i2c.c
b/drivers/media/video/cx23885/cx23885-i2c.c
index b517c8b5a5668cba8970dbcb62a40627d0f2818b..71da528932df99fd6196bef22af67f147ec71785 100644
(file)
--- a/
drivers/media/video/cx23885/cx23885-i2c.c
+++ b/
drivers/media/video/cx23885/cx23885-i2c.c
@@
-272,12
+272,6
@@
void cx23885_call_i2c_clients(struct cx23885_i2c *bus,
i2c_clients_command(&bus->i2c_adap, cmd, arg);
}
-static int cx23885_algo_control(struct i2c_adapter *adap,
- unsigned int cmd, unsigned long arg)
-{
- return 0;
-}
-
static u32 cx23885_functionality(struct i2c_adapter *adap)
{
return I2C_FUNC_SMBUS_EMUL | I2C_FUNC_I2C;
@@
-285,7
+279,6
@@
static u32 cx23885_functionality(struct i2c_adapter *adap)
static struct i2c_algorithm cx23885_i2c_algo_template = {
.master_xfer = i2c_xfer,
- .algo_control = cx23885_algo_control,
.functionality = cx23885_functionality,
};