Gitweb:     
http://git.kernel.org/git/?p=linux/kernel/git/torvalds/linux-2.6.git;a=commit;h=cdeec3cc79c7b1acfa89fb362b01e544ecfb285c
Commit:     cdeec3cc79c7b1acfa89fb362b01e544ecfb285c
Parent:     3be27d37c257fa5f99363f9c8e06e405cbad712e
Author:     Jean Delvare <[EMAIL PROTECTED]>
AuthorDate: Sat Oct 13 23:56:32 2007 +0200
Committer:  Jean Delvare <[EMAIL PROTECTED]>
CommitDate: Sat Oct 13 23:56:32 2007 +0200

    cx23885: Drop empty i2c algorithm control callback
    
    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 |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)

diff --git a/drivers/media/video/cx23885/cx23885-i2c.c 
b/drivers/media/video/cx23885/cx23885-i2c.c
index b517c8b..71da528 100644
--- 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,
 };
 
-
To unsubscribe from this list: send the line "unsubscribe git-commits-head" in
the body of a message to [EMAIL PROTECTED]
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Reply via email to