video/saa5249.c, video/tuner-3036.c get rid of MOD_INC/DEC
PATCH 1/1 video/saa5249.c, video/tuner-3036.c get rid of MOD_INC/DEC
Get rid of MOD_INC/DEC since ref count comes from owner field on I2C for these drivers.
Not sure who is maintaining these, maybe no one because they haven't been purged of MOD stuff yet.
drivers/media/video/saa5249.c +0 -2
@@ -214,7 +214,6 @@ } t->client = client;i2c_attach_client (client); -MOD_INC_USE_COUNT ;return 0 ; }
@@ -237,7 +236,6 @@kfree (vd->priv);kfree (vd);kfree (client); -MOD_DEC_USE_COUNT ;return 0 ; }
drivers/media/video/tuner-3036.c +0 -2
@@ -135,7 +135,6 @@printk ("tuner: SAB3036 found, status %02x\n" ,tuner_getstatus (client));i2c_attach_client (client); -MOD_INC_USE_COUNT ;if (i2c_master_send (client, buffer,2 ) !=2 )printk ("tuner: i2c i/o error 1\n" );
@@ -149,7 +148,6 @@static int tuner_detach (struct i2c_client *c) { -MOD_DEC_USE_COUNT ;return 0 ; }