[PATCH] I2C: Remove .owner setting from i2c_driver as it's no longer needed
Greg Kroah-Hartman [Tue, 6 Dec 2005 23:33:15 +0000 (15:33 -0800)]
Now that i2c_add_driver() doesn't need the module owner to be set by
hand, we can delete it from the drivers.  This patch catches all of the
drivers that I found in the current tree (if a driver sets the .owner by
hand, it's not a problem, just not needed.)

Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Cc: Jean Delvare <khali@linux-fr.org>

95 files changed:
arch/arm/mach-pxa/akita-ioexp.c
drivers/acorn/char/pcf8583.c
drivers/hwmon/adm1021.c
drivers/hwmon/adm1025.c
drivers/hwmon/adm1026.c
drivers/hwmon/adm1031.c
drivers/hwmon/adm9240.c
drivers/hwmon/asb100.c
drivers/hwmon/atxp1.c
drivers/hwmon/ds1621.c
drivers/hwmon/fscher.c
drivers/hwmon/fscpos.c
drivers/hwmon/gl518sm.c
drivers/hwmon/gl520sm.c
drivers/hwmon/it87.c
drivers/hwmon/lm63.c
drivers/hwmon/lm75.c
drivers/hwmon/lm77.c
drivers/hwmon/lm78.c
drivers/hwmon/lm80.c
drivers/hwmon/lm83.c
drivers/hwmon/lm85.c
drivers/hwmon/lm87.c
drivers/hwmon/lm90.c
drivers/hwmon/lm92.c
drivers/hwmon/max1619.c
drivers/hwmon/pc87360.c
drivers/hwmon/sis5595.c
drivers/hwmon/smsc47b397.c
drivers/hwmon/smsc47m1.c
drivers/hwmon/via686a.c
drivers/hwmon/vt8231.c
drivers/hwmon/w83627ehf.c
drivers/hwmon/w83627hf.c
drivers/hwmon/w83781d.c
drivers/hwmon/w83792d.c
drivers/hwmon/w83l785ts.c
drivers/i2c/chips/ds1337.c
drivers/i2c/chips/ds1374.c
drivers/i2c/chips/eeprom.c
drivers/i2c/chips/isp1301_omap.c
drivers/i2c/chips/m41t00.c
drivers/i2c/chips/max6875.c
drivers/i2c/chips/pca9539.c
drivers/i2c/chips/pcf8574.c
drivers/i2c/chips/pcf8591.c
drivers/i2c/chips/rtc8564.c
drivers/i2c/chips/tps65010.c
drivers/i2c/chips/x1205.c
drivers/i2c/i2c-dev.c
drivers/macintosh/therm_adt746x.c
drivers/macintosh/therm_pm72.c
drivers/macintosh/therm_windtunnel.c
drivers/macintosh/windfarm_lm75_sensor.c
drivers/media/video/adv7170.c
drivers/media/video/adv7175.c
drivers/media/video/bt819.c
drivers/media/video/bt832.c
drivers/media/video/bt856.c
drivers/media/video/cs53l32a.c
drivers/media/video/cx25840/cx25840-core.c
drivers/media/video/indycam.c
drivers/media/video/ir-kbd-i2c.c
drivers/media/video/msp3400.c
drivers/media/video/ovcamchip/ovcamchip_core.c
drivers/media/video/saa5246a.c
drivers/media/video/saa5249.c
drivers/media/video/saa6588.c
drivers/media/video/saa7110.c
drivers/media/video/saa7111.c
drivers/media/video/saa7114.c
drivers/media/video/saa7115.c
drivers/media/video/saa711x.c
drivers/media/video/saa7127.c
drivers/media/video/saa7134/saa6752hs.c
drivers/media/video/saa7185.c
drivers/media/video/saa7191.c
drivers/media/video/tda7432.c
drivers/media/video/tda9840.c
drivers/media/video/tda9875.c
drivers/media/video/tda9887.c
drivers/media/video/tea6415c.c
drivers/media/video/tea6420.c
drivers/media/video/tuner-3036.c
drivers/media/video/tuner-core.c
drivers/media/video/tvaudio.c
drivers/media/video/tveeprom.c
drivers/media/video/tvmixer.c
drivers/media/video/tvp5150.c
drivers/media/video/vpx3220.c
drivers/media/video/wm8775.c
drivers/video/matrox/matroxfb_maven.c
sound/oss/dmasound/dac3550a.c
sound/oss/dmasound/tas_common.c
sound/ppc/keywest.c

index 6f7b965..1b39874 100644 (file)
@@ -125,7 +125,6 @@ static int max7310_detach_client(struct i2c_client *client)
 
 static struct i2c_driver max7310_i2c_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "akita-max7310",
        },
        .id             = I2C_DRIVERID_AKITAIOEXP,
index 5fc5940..9b49f31 100644 (file)
@@ -258,7 +258,6 @@ pcf8583_command(struct i2c_client *client, unsigned int cmd, void *arg)
 
 static struct i2c_driver pcf8583_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "PCF8583",
        },
        .id             = I2C_DRIVERID_PCF8583,
index 679cb92..6656127 100644 (file)
@@ -127,7 +127,6 @@ static int read_only;
 /* This is the driver that will be inserted */
 static struct i2c_driver adm1021_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "adm1021",
        },
        .id             = I2C_DRIVERID_ADM1021,
index 3c70622..9331c56 100644 (file)
@@ -119,7 +119,6 @@ static struct adm1025_data *adm1025_update_device(struct device *dev);
 
 static struct i2c_driver adm1025_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "adm1025",
        },
        .id             = I2C_DRIVERID_ADM1025,
index 92fac34..fefe6e7 100644 (file)
@@ -309,7 +309,6 @@ static void adm1026_init_client(struct i2c_client *client);
 
 static struct i2c_driver adm1026_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "adm1026",
        },
        .attach_adapter = adm1026_attach_adapter,
index e42d75e..d063979 100644 (file)
@@ -106,7 +106,6 @@ static struct adm1031_data *adm1031_update_device(struct device *dev);
 /* This is the driver that will be inserted */
 static struct i2c_driver adm1031_driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "adm1031",
        },
        .attach_adapter = adm1031_attach_adapter,
index e60309e..5ddc22f 100644 (file)
@@ -138,7 +138,6 @@ static struct adm9240_data *adm9240_update_device(struct device *dev);
 /* driver data */
 static struct i2c_driver adm9240_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "adm9240",
        },
        .id             = I2C_DRIVERID_ADM9240,
index 3068de0..ae9de63 100644 (file)
@@ -218,7 +218,6 @@ static void asb100_init_client(struct i2c_client *client);
 
 static struct i2c_driver asb100_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "asb100",
        },
        .id             = I2C_DRIVERID_ASB100,
index ed152d9..b0c4900 100644 (file)
@@ -51,7 +51,6 @@ static int atxp1_detect(struct i2c_adapter *adapter, int address, int kind);
 
 static struct i2c_driver atxp1_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "atxp1",
        },
        .attach_adapter = atxp1_attach_adapter,
index 8600940..203f9c7 100644 (file)
@@ -90,7 +90,6 @@ static struct ds1621_data *ds1621_update_client(struct device *dev);
 /* This is the driver that will be inserted */
 static struct i2c_driver ds1621_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "ds1621",
        },
        .id             = I2C_DRIVERID_DS1621,
index 982fff4..2540918 100644 (file)
@@ -119,7 +119,6 @@ static int fscher_write_value(struct i2c_client *client, u8 reg, u8 value);
  
 static struct i2c_driver fscher_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "fscher",
        },
        .id             = I2C_DRIVERID_FSCHER,
index 971146b..6d0146b 100644 (file)
@@ -101,7 +101,6 @@ static void reset_fan_alarm(struct i2c_client *client, int nr);
  */
 static struct i2c_driver fscpos_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "fscpos",
        },
        .id             = I2C_DRIVERID_FSCPOS,
index 9c5ca1f..9e685e3 100644 (file)
@@ -152,7 +152,6 @@ static struct gl518_data *gl518_update_device(struct device *dev);
 /* This is the driver that will be inserted */
 static struct i2c_driver gl518_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "gl518sm",
        },
        .id             = I2C_DRIVERID_GL518,
index a9a724a..baee60e 100644 (file)
@@ -110,7 +110,6 @@ static struct gl520_data *gl520_update_device(struct device *dev);
 /* Driver data */
 static struct i2c_driver gl520_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "gl520sm",
        },
        .id             = I2C_DRIVERID_GL520,
index 24d520b..29b74a8 100644 (file)
@@ -235,7 +235,6 @@ static void it87_init_client(struct i2c_client *client, struct it87_data *data);
 
 static struct i2c_driver it87_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "it87",
        },
        .id             = I2C_DRIVERID_IT87,
@@ -245,7 +244,6 @@ static struct i2c_driver it87_driver = {
 
 static struct i2c_driver it87_isa_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "it87-isa",
        },
        .attach_adapter = it87_isa_attach_adapter,
index 35baae7..6b1aa7e 100644 (file)
@@ -140,7 +140,6 @@ static void lm63_init_client(struct i2c_client *client);
 
 static struct i2c_driver lm63_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "lm63",
        },
        .attach_adapter = lm63_attach_adapter,
index db35fbf..74ca2c8 100644 (file)
@@ -67,7 +67,6 @@ static struct lm75_data *lm75_update_device(struct device *dev);
 /* This is the driver that will be inserted */
 static struct i2c_driver lm75_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "lm75",
        },
        .id             = I2C_DRIVERID_LM75,
index 1770720..a2f420d 100644 (file)
@@ -75,7 +75,6 @@ static struct lm77_data *lm77_update_device(struct device *dev);
 /* This is the driver that will be inserted */
 static struct i2c_driver lm77_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "lm77",
        },
        .attach_adapter = lm77_attach_adapter,
index 3af5b06..e404001 100644 (file)
@@ -165,7 +165,6 @@ static void lm78_init_client(struct i2c_client *client);
 
 static struct i2c_driver lm78_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "lm78",
        },
        .id             = I2C_DRIVERID_LM78,
@@ -175,7 +174,6 @@ static struct i2c_driver lm78_driver = {
 
 static struct i2c_driver lm78_isa_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "lm78-isa",
        },
        .attach_adapter = lm78_isa_attach_adapter,
index 1dc118f..c9a7cde 100644 (file)
@@ -144,7 +144,6 @@ static int lm80_write_value(struct i2c_client *client, u8 reg, u8 value);
 
 static struct i2c_driver lm80_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "lm80",
        },
        .id             = I2C_DRIVERID_LM80,
index 1c1744f..26dfa9e 100644 (file)
@@ -125,7 +125,6 @@ static struct lm83_data *lm83_update_device(struct device *dev);
  
 static struct i2c_driver lm83_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "lm83",
        },
        .id             = I2C_DRIVERID_LM83,
index b537c18..7389a01 100644 (file)
@@ -381,7 +381,6 @@ static void lm85_init_client(struct i2c_client *client);
 
 static struct i2c_driver lm85_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "lm85",
        },
        .id             = I2C_DRIVERID_LM85,
index 3152c00..6ba34c3 100644 (file)
@@ -162,7 +162,6 @@ static struct lm87_data *lm87_update_device(struct device *dev);
 
 static struct i2c_driver lm87_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "lm87",
        },
        .id             = I2C_DRIVERID_LM87,
index ff7ba1e..5679464 100644 (file)
@@ -187,7 +187,6 @@ static struct lm90_data *lm90_update_device(struct device *dev);
 
 static struct i2c_driver lm90_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "lm90",
        },
        .id             = I2C_DRIVERID_LM90,
index b4e4a84..b0c4cb7 100644 (file)
@@ -411,7 +411,6 @@ static int lm92_detach_client(struct i2c_client *client)
 
 static struct i2c_driver lm92_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "lm92",
        },
        .id             = I2C_DRIVERID_LM92,
index 1a50b13..3abe330 100644 (file)
@@ -91,7 +91,6 @@ static struct max1619_data *max1619_update_device(struct device *dev);
 
 static struct i2c_driver max1619_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "max1619",
        },
        .attach_adapter = max1619_attach_adapter,
index 5469489..f161e88 100644 (file)
@@ -237,7 +237,6 @@ static struct pc87360_data *pc87360_update_device(struct device *dev);
 
 static struct i2c_driver pc87360_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "pc87360",
        },
        .attach_adapter = pc87360_detect,
index 9f44b93..8be5189 100644 (file)
@@ -199,7 +199,6 @@ static void sis5595_init_client(struct i2c_client *client);
 
 static struct i2c_driver sis5595_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "sis5595",
        },
        .attach_adapter = sis5595_detect,
index 02e5d55..8663bbb 100644 (file)
@@ -227,7 +227,6 @@ static int smsc47b397_detect(struct i2c_adapter *adapter);
 
 static struct i2c_driver smsc47b397_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "smsc47b397",
        },
        .attach_adapter = smsc47b397_detect,
index b3051ad..d1e3ec0 100644 (file)
@@ -127,7 +127,6 @@ static struct smsc47m1_data *smsc47m1_update_device(struct device *dev,
 
 static struct i2c_driver smsc47m1_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "smsc47m1",
        },
        .attach_adapter = smsc47m1_detect,
index db75fbc..cb01848 100644 (file)
@@ -573,7 +573,6 @@ static DEVICE_ATTR(alarms, S_IRUGO, show_alarms, NULL);
    smbus_driver and isa_driver, and clients could be of either kind */
 static struct i2c_driver via686a_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "via686a",
        },
        .attach_adapter = via686a_detect,
index c2eb54b..d00a726 100644 (file)
@@ -586,7 +586,6 @@ static DEVICE_ATTR(alarms, S_IRUGO, show_alarms, NULL);
 
 static struct i2c_driver vt8231_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "vt8231",
        },
        .attach_adapter = vt8231_detect,
index 94538fb..12d79f5 100644 (file)
@@ -786,7 +786,6 @@ static int w83627ehf_detach_client(struct i2c_client *client)
 
 static struct i2c_driver w83627ehf_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "w83627ehf",
        },
        .attach_adapter = w83627ehf_detect,
index 2ffb84f..7ea441d 100644 (file)
@@ -333,7 +333,6 @@ static void w83627hf_init_client(struct i2c_client *client);
 
 static struct i2c_driver w83627hf_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "w83627hf",
        },
        .attach_adapter = w83627hf_detect,
index fd1a59c..5571148 100644 (file)
@@ -270,7 +270,6 @@ static void w83781d_init_client(struct i2c_client *client);
 
 static struct i2c_driver w83781d_driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "w83781d",
        },
        .id = I2C_DRIVERID_W83781D,
@@ -280,7 +279,6 @@ static struct i2c_driver w83781d_driver = {
 
 static struct i2c_driver w83781d_isa_driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "w83781d-isa",
        },
        .attach_adapter = w83781d_isa_attach_adapter,
index 9018445..ff1c9f0 100644 (file)
@@ -318,7 +318,6 @@ static void w83792d_init_client(struct i2c_client *client);
 
 static struct i2c_driver w83792d_driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "w83792d",
        },
        .attach_adapter = w83792d_attach_adapter,
index fc9f202..f66c0cf 100644 (file)
@@ -93,7 +93,6 @@ static struct w83l785ts_data *w83l785ts_update_device(struct device *dev);
  
 static struct i2c_driver w83l785ts_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "w83l785ts",
        },
        .id             = I2C_DRIVERID_W83L785TS,
index a9d4ac7..93d483b 100644 (file)
@@ -53,7 +53,6 @@ static int ds1337_command(struct i2c_client *client, unsigned int cmd,
  */
 static struct i2c_driver ds1337_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "ds1337",
        },
        .attach_adapter = ds1337_attach_adapter,
index 3e3ebd8..0710b9d 100644 (file)
@@ -233,7 +233,6 @@ static int ds1374_detach(struct i2c_client *client)
 
 static struct i2c_driver ds1374_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = DS1374_DRV_NAME,
        },
        .id = I2C_DRIVERID_DS1374,
index d0c9f29..41116b7 100644 (file)
@@ -69,7 +69,6 @@ static int eeprom_detach_client(struct i2c_client *client);
 /* This is the driver that will be inserted */
 static struct i2c_driver eeprom_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "eeprom",
        },
        .id             = I2C_DRIVERID_EEPROM,
index 9f1ec03..1251c7f 100644 (file)
@@ -1633,7 +1633,6 @@ static int isp1301_scan_bus(struct i2c_adapter *bus)
 
 static struct i2c_driver isp1301_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "isp1301_omap",
        },
        .id             = 1301,         /* FIXME "official", i2c-ids.h */
index 92759b2..2dc3d48 100644 (file)
@@ -212,7 +212,6 @@ m41t00_detach(struct i2c_client *client)
 
 static struct i2c_driver m41t00_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = M41T00_DRV_NAME,
        },
        .id             = I2C_DRIVERID_STM41T00,
index 3705117..6d3ff58 100644 (file)
@@ -68,7 +68,6 @@ static int max6875_detach_client(struct i2c_client *client);
 /* This is the driver that will be inserted */
 static struct i2c_driver max6875_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "max6875",
        },
        .attach_adapter = max6875_attach_adapter,
index bb57faa..54b6e6a 100644 (file)
@@ -39,7 +39,6 @@ static int pca9539_detach_client(struct i2c_client *client);
 /* This is the driver that will be inserted */
 static struct i2c_driver pca9539_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "pca9539",
        },
        .attach_adapter = pca9539_attach_adapter,
index 3d4d4d6..c3e6449 100644 (file)
@@ -66,7 +66,6 @@ static void pcf8574_init_client(struct i2c_client *client);
 /* This is the driver that will be inserted */
 static struct i2c_driver pcf8574_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "pcf8574",
        },
        .id             = I2C_DRIVERID_PCF8574,
index 8f41bb3..36cff09 100644 (file)
@@ -89,7 +89,6 @@ static int pcf8591_read_channel(struct device *dev, int channel);
 /* This is the driver that will be inserted */
 static struct i2c_driver pcf8591_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "pcf8591",
        },
        .id             = I2C_DRIVERID_PCF8591,
index 6f567e2..ceaa6b0 100644 (file)
@@ -359,7 +359,6 @@ rtc8564_command(struct i2c_client *client, unsigned int cmd, void *arg)
 
 static struct i2c_driver rtc8564_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "RTC8564",
        },
        .id             = I2C_DRIVERID_RTC8564,
index 92947a6..e70b3db 100644 (file)
@@ -638,7 +638,6 @@ static int __init tps65010_scan_bus(struct i2c_adapter *bus)
 
 static struct i2c_driver tps65010_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "tps65010",
        },
        .attach_adapter = tps65010_scan_bus,
index 6880eab..245fffa 100644 (file)
@@ -106,7 +106,6 @@ static int x1205_command(struct i2c_client *client, unsigned int cmd,
 
 static struct i2c_driver x1205_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "x1205",
        },
        .attach_adapter = &x1205_attach,
index 9715217..e140dd7 100644 (file)
@@ -482,7 +482,6 @@ static int i2cdev_command(struct i2c_client *client, unsigned int cmd,
 
 static struct i2c_driver i2cdev_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "dev_driver",
        },
        .id             = I2C_DRIVERID_I2CDEV,
index 8bb1d85..02a3117 100644 (file)
@@ -172,7 +172,6 @@ detach_thermostat(struct i2c_adapter *adapter)
 
 static struct i2c_driver thermostat_driver = {  
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "therm_adt746x",
        },
        .attach_adapter = attach_thermostat,
index 97807be..cf72b78 100644 (file)
@@ -284,7 +284,6 @@ static int therm_pm72_detach(struct i2c_adapter *adapter);
 static struct i2c_driver therm_pm72_driver =
 {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "therm_pm72",
        },
        .attach_adapter = therm_pm72_attach,
index 259f19d..3d9dd2e 100644 (file)
@@ -355,7 +355,6 @@ do_detach( struct i2c_client *client )
 
 static struct i2c_driver g4fan_driver = {  
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "therm_windtunnel",
        },
        .id             = I2C_DRIVERID_G4FAN,
index 555d0e4..fd16642 100644 (file)
@@ -48,7 +48,6 @@ static int wf_lm75_detach(struct i2c_client *client);
 
 static struct i2c_driver wf_lm75_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "wf_lm75",
        },
        .attach_adapter = wf_lm75_attach,
index c5f1c6b..e61003d 100644 (file)
@@ -498,7 +498,6 @@ adv7170_detach_client (struct i2c_client *client)
 
 static struct i2c_driver i2c_driver_adv7170 = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "adv7170",      /* name */
        },
 
index 33158aa..6d9536a 100644 (file)
@@ -548,7 +548,6 @@ adv7175_detach_client (struct i2c_client *client)
 
 static struct i2c_driver i2c_driver_adv7175 = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "adv7175",      /* name */
        },
 
index 5868bbb..560b998 100644 (file)
@@ -623,7 +623,6 @@ bt819_detach_client (struct i2c_client *client)
 
 static struct i2c_driver i2c_driver_bt819 = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "bt819",
        },
 
index 347eb71..1c3ff5f 100644 (file)
@@ -231,7 +231,6 @@ bt832_command(struct i2c_client *client, unsigned int cmd, void *arg)
 
 static struct i2c_driver driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "i2c bt832 driver",
        },
        .id             = -1, /* FIXME */
index 207525a..6050806 100644 (file)
@@ -405,7 +405,6 @@ bt856_detach_client (struct i2c_client *client)
 
 static struct i2c_driver i2c_driver_bt856 = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "bt856",
        },
 
index 60484f9..643ead1 100644 (file)
@@ -217,7 +217,6 @@ static int cs53l32a_detach(struct i2c_client *client)
 /* i2c implementation */
 static struct i2c_driver i2c_driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "cs53l32a",
        },
        .id = I2C_DRIVERID_CS53L32A,
index 830d519..3b09f46 100644 (file)
@@ -844,7 +844,6 @@ static int cx25840_detach_client(struct i2c_client *client)
 
 static struct i2c_driver i2c_driver_cx25840 = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "cx25840",
        },
 
index 96a808e..bb5cbec 100644 (file)
@@ -452,7 +452,6 @@ static int indycam_command(struct i2c_client *client, unsigned int cmd,
 
 static struct i2c_driver i2c_driver_indycam = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "indycam",
        },
        .id             = I2C_DRIVERID_INDYCAM,
index 82c7f50..3cc1d6a 100644 (file)
@@ -279,7 +279,6 @@ static int ir_probe(struct i2c_adapter *adap);
 
 static struct i2c_driver driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "ir remote kbd driver",
        },
        .id             = I2C_DRIVERID_INFRARED,
index 3847d89..183253e 100644 (file)
@@ -1569,7 +1569,6 @@ static struct i2c_driver driver = {
        .detach_client  = msp_detach,
        .command        = msp_command,
        .driver = {
-               .owner   = THIS_MODULE,
                .name    = "i2c msp3400 driver",
                .suspend = msp_suspend,
                .resume  = msp_resume,
index 9ac398b..428f1bb 100644 (file)
@@ -411,7 +411,6 @@ static int ovcamchip_command(struct i2c_client *c, unsigned int cmd, void *arg)
 
 static struct i2c_driver driver = {
        .driver = {
-               .owner =        THIS_MODULE,
                .name =         "ovcamchip",
        },
        .id =                   I2C_DRIVERID_OVCAMCHIP,
index 8c99edb..135c214 100644 (file)
@@ -164,7 +164,6 @@ static int saa5246a_command(struct i2c_client *device, unsigned int cmd,
 static struct i2c_driver i2c_driver_videotext =
 {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = IF_NAME,              /* name */
        },
        .id             = I2C_DRIVERID_SAA5249, /* in i2c.h */
index 5b346bd..d7c4e33 100644 (file)
@@ -237,7 +237,6 @@ static int saa5249_command(struct i2c_client *device,
 static struct i2c_driver i2c_driver_videotext = 
 {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = IF_NAME,              /* name */
        },
        .id             = I2C_DRIVERID_SAA5249, /* in i2c.h */
index 5ea36ee..d60a783 100644 (file)
@@ -496,7 +496,6 @@ static int saa6588_command(struct i2c_client *client, unsigned int cmd,
 
 static struct i2c_driver driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "i2c saa6588 driver",
        },
        .id = -1,               /* FIXME */
index 58f60ba..619ff0b 100644 (file)
@@ -587,7 +587,6 @@ saa7110_detach_client (struct i2c_client *client)
 
 static struct i2c_driver i2c_driver_saa7110 = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "saa7110",
        },
 
index 946eb74..acaeee5 100644 (file)
@@ -590,7 +590,6 @@ saa7111_detach_client (struct i2c_client *client)
 
 static struct i2c_driver i2c_driver_saa7111 = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "saa7111",
        },
 
index df53b58..b7ac012 100644 (file)
@@ -1204,7 +1204,6 @@ saa7114_detach_client (struct i2c_client *client)
 
 static struct i2c_driver i2c_driver_saa7114 = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "saa7114",
        },
 
index 6ac1ab4..29e28c7 100644 (file)
@@ -1355,7 +1355,6 @@ static int saa7115_detach(struct i2c_client *client)
 /* i2c implementation */
 static struct i2c_driver i2c_driver_saa7115 = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "saa7115",
        },
        .id = I2C_DRIVERID_SAA711X,
index 3f7cfb7..8008537 100644 (file)
@@ -565,7 +565,6 @@ saa711x_detach_client (struct i2c_client *client)
 
 static struct i2c_driver i2c_driver_saa711x = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "saa711x",
        },
 
index 659cb8a..bca6ed0 100644 (file)
@@ -821,7 +821,6 @@ static int saa7127_detach(struct i2c_client *client)
 
 static struct i2c_driver i2c_driver_saa7127 = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "saa7127",
        },
        .id = I2C_DRIVERID_SAA7127,
index 0e8c9ed..4615a98 100644 (file)
@@ -598,7 +598,6 @@ saa6752hs_command(struct i2c_client *client, unsigned int cmd, void *arg)
 
 static struct i2c_driver driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "i2c saa6752hs MPEG encoder",
        },
        .id             = I2C_DRIVERID_SAA6752HS,
index 64047d7..f72a9f7 100644 (file)
@@ -487,7 +487,6 @@ saa7185_detach_client (struct i2c_client *client)
 
 static struct i2c_driver i2c_driver_saa7185 = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "saa7185",      /* name */
        },
 
index a0f8eaf..41f6f05 100644 (file)
@@ -789,7 +789,6 @@ static int saa7191_command(struct i2c_client *client, unsigned int cmd,
 
 static struct i2c_driver i2c_driver_saa7191 = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "saa7191",
        },
        .id             = I2C_DRIVERID_SAA7191,
index 59674d9..549c992 100644 (file)
@@ -502,7 +502,6 @@ static int tda7432_command(struct i2c_client *client,
 
 static struct i2c_driver driver = {
        .driver = {
-               .owner   = THIS_MODULE,
                .name    = "i2c tda7432 driver",
        },
        .id              = I2C_DRIVERID_TDA7432,
index 8efc726..2a353d2 100644 (file)
@@ -222,7 +222,6 @@ static int detach(struct i2c_client *client)
 
 static struct i2c_driver driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "tda9840",
        },
        .id     = I2C_DRIVERID_TDA9840,
index de89616..9c3ecf7 100644 (file)
@@ -373,7 +373,6 @@ static int tda9875_command(struct i2c_client *client,
 
 static struct i2c_driver driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "i2c tda9875 driver",
        },
        .id             = I2C_DRIVERID_TDA9875,
index 081f478..7165a1b 100644 (file)
@@ -824,7 +824,6 @@ static struct i2c_driver driver = {
        .detach_client  = tda9887_detach,
        .command        = tda9887_command,
        .driver = {
-               .owner   = THIS_MODULE,
                .name    = "i2c tda9887 driver",
                .suspend = tda9887_suspend,
                .resume  = tda9887_resume,
index e7e2213..17046d9 100644 (file)
@@ -191,7 +191,6 @@ static int command(struct i2c_client *client, unsigned int cmd, void *arg)
 
 static struct i2c_driver driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "tea6415c",
        },
        .id     = I2C_DRIVERID_TEA6415C,
index 74cc25f..3dc89d9 100644 (file)
@@ -168,7 +168,6 @@ static int command(struct i2c_client *client, unsigned int cmd, void *arg)
 
 static struct i2c_driver driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "tea6420",
        },
        .id     = I2C_DRIVERID_TEA6420,
index 83257af..d97f668 100644 (file)
@@ -176,7 +176,6 @@ static struct i2c_driver
 i2c_driver_tuner = 
 {
        .driver = {
-               .owner  =       THIS_MODULE,
                .name   =       "sab3036",
        },
        .id             =       I2C_DRIVERID_SAB3036,
index e8c8549..c13c7b9 100644 (file)
@@ -747,7 +747,6 @@ static struct i2c_driver driver = {
        .detach_client = tuner_detach,
        .command = tuner_command,
        .driver = {
-                  .owner = THIS_MODULE,
                   .name = "tuner",
                   .suspend = tuner_suspend,
                   .resume = tuner_resume,
index 30bb2a3..0292c5a 100644 (file)
@@ -1703,7 +1703,6 @@ static int chip_command(struct i2c_client *client,
 
 static struct i2c_driver driver = {
        .driver = {
-               .owner   = THIS_MODULE,
                .name    = "generic i2c audio driver",
        },
        .id              = I2C_DRIVERID_TVAUDIO,
index d8b5a17..8ac4cb8 100644 (file)
@@ -779,7 +779,6 @@ tveeprom_detach_client (struct i2c_client *client)
 
 static struct i2c_driver i2c_driver_tveeprom = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "tveeprom",
        },
        .id             = I2C_DRIVERID_TVEEPROM,
index 5f4d018..e837f9f 100644 (file)
@@ -229,7 +229,6 @@ static int tvmixer_release(struct inode *inode, struct file *file)
 static struct i2c_driver driver = {
 #ifdef I2C_PEC
        .driver = {
-               .owner   = THIS_MODULE,
                .name    = "tv card mixer driver",
        },
 #else
index 5eca71f..a60442e 100644 (file)
@@ -801,7 +801,6 @@ static int tvp5150_detach_client(struct i2c_client *client)
 
 static struct i2c_driver driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "tvp5150",
        },
 
index b85b598..8dcee8b 100644 (file)
@@ -722,7 +722,6 @@ vpx3220_attach_adapter (struct i2c_adapter *adapter)
 
 static struct i2c_driver vpx3220_i2c_driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "vpx3220",
        },
 
index 22875f1..bbfd55c 100644 (file)
@@ -233,7 +233,6 @@ static int wm8775_detach(struct i2c_client *client)
 /* i2c implementation */
 static struct i2c_driver i2c_driver = {
        .driver = {
-               .owner = THIS_MODULE,
                .name = "wm8775",
        },
 
index f6fdb69..2558753 100644 (file)
@@ -1294,7 +1294,6 @@ static int maven_command(struct i2c_client* client, unsigned int cmd, void* arg)
 
 static struct i2c_driver maven_driver={
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "maven",
        },
        .id             = I2C_DRIVERID_MGATVO,
index 835e0cf..7360d89 100644 (file)
@@ -42,7 +42,6 @@ static int daca_detach_client(struct i2c_client *client);
 
 struct i2c_driver daca_driver = {  
        .driver = {
-               .owner          = THIS_MODULE,
                .name           = "DAC3550A driver  V " DACA_VERSION,
        },
        .id                     = I2C_DRIVERID_DACA,
index bd6910a..8131599 100644 (file)
@@ -48,7 +48,6 @@ static int tas_detach_client(struct i2c_client *);
 
 struct i2c_driver tas_driver = {
        .driver = {
-               .owner  = THIS_MODULE,
                .name   = "tas",
        },
        .attach_adapter = tas_attach_adapter,
index d532924..6058c2d 100644 (file)
@@ -42,7 +42,6 @@ static int keywest_detach_client(struct i2c_client *client);
 
 struct i2c_driver keywest_driver = {  
        .driver = {
-               .owner = THIS_MODULE,
                .name = "PMac Keywest Audio",
        },
        .id = I2C_DRIVERID_KEYWEST,