Discard owner field from i2c_driver structure. I do not restore

inc_use/dec_use because they are not actually used anywhere.


git-svn-id: http://lm-sensors.org/svn/lm-sensors/trunk@2781 7894878c-1315-0410-8ee3-d5d059ff63e0
This commit is contained in:
Jean Delvare committed 2004-12-03 22:32:17 +00:00
1 parent d6666e1b72
commit e9d2eaef30
54 files changed
-54

No files matched your search

-1
View File
@@ -128,7 +128,6 @@ static int read_only = 0;
/* This is the driver that will be inserted */
static struct i2c_driver adm1021_driver = {
.owner = THIS_MODULE,
.name = "ADM1021, MAX1617 sensor driver",
.id = I2C_DRIVERID_ADM1021,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -213,7 +213,6 @@ static void adm1024_vid(struct i2c_client *client, int operation,
static int adm1024_id = 0;
static struct i2c_driver adm1024_driver = {
.owner = THIS_MODULE,
.name = "ADM1024 sensor driver",
.id = I2C_DRIVERID_ADM1024,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -159,7 +159,6 @@ static void adm1025_vrm(struct i2c_client *client, int operation,
static int adm1025_id = 0;
static struct i2c_driver adm1025_driver = {
.owner = THIS_MODULE,
.name = "ADM1025 sensor driver",
.id = I2C_DRIVERID_ADM1025,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -385,7 +385,6 @@ static void adm1026_afc(struct i2c_client *client, int operation,
int ctl_name, int *nrels_mag, long *results);
static struct i2c_driver adm1026_driver = {
.owner = THIS_MODULE,
.name = "ADM1026 compatible sensor driver",
.id = I2C_DRIVERID_ADM1026,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -196,7 +196,6 @@ static void adm1031_update_client(struct i2c_client *client);
/* This is the driver that will be inserted */
static struct i2c_driver adm1031_driver = {
.owner = THIS_MODULE,
.name = "ADM1031/ADM1030 sensor driver",
.flags = I2C_DF_NOTIFY,
.attach_adapter = adm1031_attach_adapter,
-1
View File
@@ -211,7 +211,6 @@ static void adm9240_vid(struct i2c_client *client, int operation,
static int adm9240_id = 0;
static struct i2c_driver adm9240_driver = {
.owner = THIS_MODULE,
.name = "ADM9240 sensor driver",
.id = I2C_DRIVERID_ADM9240,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -244,7 +244,6 @@ static void asb100_pwm(struct i2c_client *client, int operation,
int ctl_name, int *nrels_mag, long *results);
static struct i2c_driver asb100_driver = {
.owner = THIS_MODULE,
.name = "asb100",
.id = I2C_DRIVERID_ASB100,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -82,7 +82,6 @@ static void bmcsensors_get_sdr(u16 resid, u16 record, u8 offset);
static void bmcsensors_get_reading(struct i2c_client *client, int i);
static struct i2c_driver bmcsensors_driver = {
.owner = THIS_MODULE,
.name = "BMC Sensors driver",
.id = I2C_DRIVERID_BMCSENSORS,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -103,7 +103,6 @@ static void bt869_update_client(struct i2c_client *client);
/* This is the driver that will be inserted */
static struct i2c_driver bt869_driver = {
.owner = THIS_MODULE,
.name = "BT869 video-output chip driver",
.id = I2C_DRIVERID_BT869,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -117,7 +117,6 @@ static void ddcmon_update_client(struct i2c_client *client);
/* This is the driver that will be inserted */
static struct i2c_driver ddcmon_driver = {
.owner = THIS_MODULE,
.name = "DDCMON READER",
.id = I2C_DRIVERID_DDCMON,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -315,7 +315,6 @@ static int ds1307_command (struct i2c_client *client,unsigned int cmd,void *arg)
static struct i2c_driver ds1307 = {
.owner = THIS_MODULE,
.name = "ds1307",
.id = I2C_DRIVERID_DS1307,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -117,7 +117,6 @@ static void ds1621_update_client(struct i2c_client *client);
/* This is the driver that will be inserted */
static struct i2c_driver ds1621_driver = {
.owner = THIS_MODULE,
.name = "DS1621 sensor driver",
.id = I2C_DRIVERID_DS1621,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -92,7 +92,6 @@ static void eeprom_update_client(struct i2c_client *client, u8 slice);
/* This is the driver that will be inserted */
static struct i2c_driver eeprom_driver = {
.owner = THIS_MODULE,
.name = "EEPROM READER",
.id = I2C_DRIVERID_EEPROM,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -163,7 +163,6 @@ static void fscher_wdog(struct i2c_client *client, int operation,
static int fscher_id = 0;
static struct i2c_driver fscher_driver = {
.owner = THIS_MODULE,
.name = "FSCHER sensor driver",
.id = I2C_DRIVERID_FSCHER,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -162,7 +162,6 @@ static void fscpos_wdog(struct i2c_client *client, int operation,
static int fscpos_id = 0;
static struct i2c_driver fscpos_driver = {
.owner = THIS_MODULE,
.name = "FSCPOS sensor driver",
.id = I2C_DRIVERID_FSCPOS,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -220,7 +220,6 @@ static void fscscy_intrusion(struct i2c_client *client, int operation,
static int fscscy_id = 0;
static struct i2c_driver fscscy_driver = {
.owner = THIS_MODULE,
.name = "FSCSCY sensor driver",
.id = I2C_DRIVERID_FSCSCY,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -174,7 +174,6 @@ static void gl518_iterate(struct i2c_client *client, int operation,
/* This is the driver that will be inserted */
static struct i2c_driver gl518_driver = {
.owner = THIS_MODULE,
.name = "GL518SM sensor chip driver",
.id = I2C_DRIVERID_GL518,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -170,7 +170,6 @@ static void gl520_config(struct i2c_client *client, int operation,
/* This is the driver that will be inserted */
static struct i2c_driver gl520_driver = {
.owner = THIS_MODULE,
.name = "GL520SM sensor chip driver",
.id = I2C_DRIVERID_GL520,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -79,7 +79,6 @@ static void icspll_update_client(struct i2c_client *client);
/* This is the driver that will be inserted */
static struct i2c_driver icspll_driver = {
.owner = THIS_MODULE,
.name = "Clock chip reader",
.id = I2C_DRIVERID_ICSPLL,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -276,7 +276,6 @@ static void it87_sens(struct i2c_client *client, int operation,
int ctl_name, int *nrels_mag, long *results);
static struct i2c_driver it87_driver = {
.owner = THIS_MODULE,
.name = "IT87xx sensor driver",
.id = I2C_DRIVERID_IT87,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -151,7 +151,6 @@ static void lm63_pwm(struct i2c_client *client, int operation,
*/
static struct i2c_driver lm63_driver = {
.owner = THIS_MODULE,
.name = "LM63 sensor driver",
.flags = I2C_DF_NOTIFY,
.attach_adapter = lm63_attach_adapter,
-1
View File
@@ -70,7 +70,6 @@ static void lm75_update_client(struct i2c_client *client);
/* This is the driver that will be inserted */
static struct i2c_driver lm75_driver = {
.owner = THIS_MODULE,
.name = "LM75 sensor chip driver",
.id = I2C_DRIVERID_LM75,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -167,7 +167,6 @@ static void lm78_fan_div(struct i2c_client *client, int operation,
int ctl_name, int *nrels_mag, long *results);
static struct i2c_driver lm78_driver = {
.owner = THIS_MODULE,
.name = "LM78(-J) and LM79 sensor driver",
.id = I2C_DRIVERID_LM78,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -157,7 +157,6 @@ static void lm80_fan_div(struct i2c_client *client, int operation,
static int lm80_id = 0;
static struct i2c_driver lm80_driver = {
.owner = THIS_MODULE,
.name = "LM80 sensor driver",
.id = I2C_DRIVERID_LM80,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -129,7 +129,6 @@ static void lm83_alarms(struct i2c_client *client, int operation, int
*/
static struct i2c_driver lm83_driver = {
.owner = THIS_MODULE,
.name = "LM83 sensor driver",
.id = I2C_DRIVERID_LM83,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -479,7 +479,6 @@ static void emc6d100_in(struct i2c_client *client, int operation,
int ctl_name, int *nrels_mag, long *results);
static struct i2c_driver lm85_driver = {
.owner = THIS_MODULE,
.name = "LM85 compatible sensor driver",
.id = I2C_DRIVERID_LM85,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -253,7 +253,6 @@ static void lm87_vrm(struct i2c_client *client, int operation,
static int lm87_id = 0;
static struct i2c_driver LM87_driver = {
.owner = THIS_MODULE,
.name = "LM87 sensor driver",
.id = I2C_DRIVERID_LM87,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -176,7 +176,6 @@ static void lm90_alarms(struct i2c_client *client, int operation,
*/
static struct i2c_driver lm90_driver = {
.owner = THIS_MODULE,
.name = "LM90/ADM1032 sensor driver",
.id = I2C_DRIVERID_LM90,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -388,7 +388,6 @@ static int lm92_detach_client (struct i2c_client *client)
static struct i2c_driver lm92_driver = {
.owner = THIS_MODULE,
.name = "lm92",
.id = I2C_DRIVERID_LM92,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -2323,7 +2323,6 @@ static int lm93_detach_client(struct i2c_client *client)
}
static struct i2c_driver lm93_driver = {
.owner = THIS_MODULE,
.name = "LM93 sensor driver",
.id = I2C_DRIVERID_LM93,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -92,7 +92,6 @@ static void ltc1710_update_client(struct i2c_client *client);
/* This is the driver that will be inserted */
static struct i2c_driver ltc1710_driver = {
.owner = THIS_MODULE,
.name = "LTC1710 sensor chip driver",
.id = I2C_DRIVERID_LTC1710,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -69,7 +69,6 @@ static void matorb_update_client(struct i2c_client *client);
/* This is the driver that will be inserted */
static struct i2c_driver matorb_driver = {
.owner = THIS_MODULE,
.name = "Matrix Orbital LCD driver",
.id = I2C_DRIVERID_MATORB,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -102,7 +102,6 @@ static void max1619_alarms(struct i2c_client *client, int operation,
*/
static struct i2c_driver max1619_driver = {
.owner = THIS_MODULE,
.name = "MAX1619 sensor driver",
.flags = I2C_DF_NOTIFY,
.attach_adapter = max1619_attach_adapter,
-1
View File
@@ -114,7 +114,6 @@ static int max6650_read(struct i2c_client *client, u8 reg);
static struct i2c_driver max6650_driver = {
.owner = THIS_MODULE,
.name = "MAX6650/1 sensor driver",
.id = I2C_DRIVERID_MAX6650,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -306,7 +306,6 @@ static void maxi_alarms(struct i2c_client *client, int operation,
/* The driver. I choose to use type i2c_driver, as at is identical to
the smbus_driver. */
static struct i2c_driver maxi_driver = {
.owner = THIS_MODULE,
.name = "HP MaxiLife driver",
.id = I2C_DRIVERID_MAXILIFE,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -256,7 +256,6 @@ static int mtp008_id = 0;
static struct i2c_driver mtp008_driver =
{
.owner = THIS_MODULE,
.name = "MTP008 sensor driver",
.id = I2C_DRIVERID_MTP008,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -269,7 +269,6 @@ void pc87365_temp_status(struct i2c_client *client, int operation, int ctl_name,
static int pc87360_id = 0;
static struct i2c_driver pc87360_driver = {
.owner = THIS_MODULE,
.name = "PC8736x hardware monitor",
.flags = I2C_DF_NOTIFY,
.attach_adapter = pc87360_attach_adapter,
-1
View File
@@ -67,7 +67,6 @@ static void pca9540_channel(struct i2c_client *client, int operation,
/* This is the driver that will be inserted */
static struct i2c_driver pca9540_driver = {
.owner = THIS_MODULE,
.name = "PCA9540 chip driver",
.flags = I2C_DF_NOTIFY,
.attach_adapter = pca9540_attach_adapter,
-1
View File
@@ -161,7 +161,6 @@ static int pca954x_xfer(struct i2c_adapter *adap,
/* This is the driver that will be inserted */
static struct i2c_driver pca954x_driver = {
.owner = THIS_MODULE,
.name = "PCA954X I2C mux/switch driver",
.flags = I2C_DF_NOTIFY,
.attach_adapter = pca954x_attach_adapter,
-1
View File
@@ -87,7 +87,6 @@ static void pcf8574_init_client(struct i2c_client *client);
/* This is the driver that will be inserted */
static struct i2c_driver pcf8574_driver = {
.owner = THIS_MODULE,
.name = "PCF8574 sensor chip driver",
.id = I2C_DRIVERID_PCF8574,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -102,7 +102,6 @@ static void pcf8591_aout(struct i2c_client *client, int operation,
/* This is the driver that will be inserted */
static struct i2c_driver pcf8591_driver = {
.owner = THIS_MODULE,
.name = "PCF8591 sensor chip driver",
.id = I2C_DRIVERID_PCF8591,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -151,7 +151,6 @@ static void saa1064_init_client(struct i2c_client *client);
/* This is the driver that will be inserted */
static struct i2c_driver saa1064_driver = {
.owner = THIS_MODULE,
.name = "SAA1064 sensor chip driver",
.id = I2C_DRIVERID_SAA1064,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -223,7 +223,6 @@ static int sis5595_id = 0;
/* The driver. I choose to use type i2c_driver, as at is identical to both
smbus_driver and isa_driver, and clients could be of either kind */
static struct i2c_driver sis5595_driver = {
.owner = THIS_MODULE,
.name = "SiS 5595",
.id = I2C_DRIVERID_SIS5595,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -126,7 +126,6 @@ static void smartbatt_update_client(struct i2c_client *client);
/* This is the driver that will be inserted */
static struct i2c_driver smartbatt_driver = {
.owner = THIS_MODULE,
.name = "Smart Battery chip driver",
.id = I2C_DRIVERID_SMARTBATT,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -127,7 +127,6 @@ static void smbusarp_contents(struct i2c_client *client, int operation,
int ctl_name, int *nrels_mag, long *results);
static struct i2c_driver smbusarp_driver = {
.owner = THIS_MODULE,
.name = "SMBUS ARP",
.id = I2C_DRIVERID_ARP,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -163,7 +163,6 @@ static void smsc47m1_pwm(struct i2c_client *client, int operation,
static int smsc47m1_id = 0;
static struct i2c_driver smsc47m1_driver = {
.owner = THIS_MODULE,
.name = "SMSC 47M1xx fan monitor",
.id = I2C_DRIVERID_SMSC47M1,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -112,7 +112,6 @@ static void thmc50_update_client(struct i2c_client *client);
/* This is the driver that will be inserted */
static struct i2c_driver thmc50_driver = {
.owner = THIS_MODULE,
.name = "THMC50 sensor chip driver",
.id = I2C_DRIVERID_THMC50,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -361,7 +361,6 @@ static int via686a_id = 0;
/* The driver. I choose to use type i2c_driver, as at is identical to both
smbus_driver and isa_driver, and clients could be of either kind */
static struct i2c_driver via686a_driver = {
.owner = THIS_MODULE,
.name = "VIA 686A",
.id = I2C_DRIVERID_VIA686A,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -235,7 +235,6 @@ static void vt1211_temp(struct i2c_client *client, int operation,
static int vt1211_id = 0;
static struct i2c_driver vt1211_driver = {
.owner = THIS_MODULE,
.name = "VT1211 sensors driver",
.id = I2C_DRIVERID_VT1211,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -194,7 +194,6 @@ static void vt8231_temp(struct i2c_client *client, int operation,
static int vt8231_id = 0;
static struct i2c_driver vt8231_driver = {
.owner = THIS_MODULE,
.name = "VT8231 sensors driver",
.id = I2C_DRIVERID_VT8231,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -359,7 +359,6 @@ static void w83627hf_sens(struct i2c_client *client, int operation,
static int w83627hf_id = 0;
static struct i2c_driver w83627hf_driver = {
.owner = THIS_MODULE,
.name = "W83627HF sensor driver",
.id = I2C_DRIVERID_W83627HF,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -332,7 +332,6 @@ static void w83781d_rt(struct i2c_client *client, int operation,
static int w83781d_id = 0;
static struct i2c_driver w83781d_driver = {
.owner = THIS_MODULE,
.name = "W83781D sensor driver",
.id = I2C_DRIVERID_W83781D,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -96,7 +96,6 @@ static void w83l785ts_temp(struct i2c_client *client, int operation, int
*/
static struct i2c_driver w83l785ts_driver = {
.owner = THIS_MODULE,
.name = "W83L785S-S sensor driver",
.id = I2C_DRIVERID_W83L785TS,
.flags = I2C_DF_NOTIFY,
-1
View File
@@ -112,7 +112,6 @@ static int read_only = 0;
/* This is the driver that will be inserted */
static struct i2c_driver xeontemp_driver = {
.owner = THIS_MODULE,
.name = "Xeon temp sensor driver",
.id = I2C_DRIVERID_XEONTEMP,
.flags = I2C_DF_NOTIFY,