diff options
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/chips/ds1374.c | 1 | ||||
-rw-r--r-- | drivers/i2c/chips/m41t00.c | 1 | ||||
-rw-r--r-- | drivers/i2c/chips/rtc8564.c | 2 |
3 files changed, 1 insertions, 3 deletions
diff --git a/drivers/i2c/chips/ds1374.c b/drivers/i2c/chips/ds1374.c index 0936327a946d..ec640e9f085a 100644 --- a/drivers/i2c/chips/ds1374.c +++ b/drivers/i2c/chips/ds1374.c | |||
@@ -199,7 +199,6 @@ static int ds1374_probe(struct i2c_adapter *adap, int addr, int kind) | |||
199 | 199 | ||
200 | memset(client, 0, sizeof(struct i2c_client)); | 200 | memset(client, 0, sizeof(struct i2c_client)); |
201 | strncpy(client->name, DS1374_DRV_NAME, I2C_NAME_SIZE); | 201 | strncpy(client->name, DS1374_DRV_NAME, I2C_NAME_SIZE); |
202 | client->flags = I2C_DF_NOTIFY; | ||
203 | client->addr = addr; | 202 | client->addr = addr; |
204 | client->adapter = adap; | 203 | client->adapter = adap; |
205 | client->driver = &ds1374_driver; | 204 | client->driver = &ds1374_driver; |
diff --git a/drivers/i2c/chips/m41t00.c b/drivers/i2c/chips/m41t00.c index 3f14528a52a9..554f7ba61627 100644 --- a/drivers/i2c/chips/m41t00.c +++ b/drivers/i2c/chips/m41t00.c | |||
@@ -180,7 +180,6 @@ m41t00_probe(struct i2c_adapter *adap, int addr, int kind) | |||
180 | 180 | ||
181 | memset(client, 0, sizeof(struct i2c_client)); | 181 | memset(client, 0, sizeof(struct i2c_client)); |
182 | strncpy(client->name, M41T00_DRV_NAME, I2C_NAME_SIZE); | 182 | strncpy(client->name, M41T00_DRV_NAME, I2C_NAME_SIZE); |
183 | client->flags = I2C_DF_NOTIFY; | ||
184 | client->addr = addr; | 183 | client->addr = addr; |
185 | client->adapter = adap; | 184 | client->adapter = adap; |
186 | client->driver = &m41t00_driver; | 185 | client->driver = &m41t00_driver; |
diff --git a/drivers/i2c/chips/rtc8564.c b/drivers/i2c/chips/rtc8564.c index 0b5385c892b1..dd9d42d7b6e7 100644 --- a/drivers/i2c/chips/rtc8564.c +++ b/drivers/i2c/chips/rtc8564.c | |||
@@ -158,7 +158,7 @@ static int rtc8564_attach(struct i2c_adapter *adap, int addr, int kind) | |||
158 | 158 | ||
159 | strlcpy(new_client->name, "RTC8564", I2C_NAME_SIZE); | 159 | strlcpy(new_client->name, "RTC8564", I2C_NAME_SIZE); |
160 | i2c_set_clientdata(new_client, d); | 160 | i2c_set_clientdata(new_client, d); |
161 | new_client->flags = I2C_CLIENT_ALLOW_USE | I2C_DF_NOTIFY; | 161 | new_client->flags = I2C_CLIENT_ALLOW_USE; |
162 | new_client->addr = addr; | 162 | new_client->addr = addr; |
163 | new_client->adapter = adap; | 163 | new_client->adapter = adap; |
164 | new_client->driver = &rtc8564_driver; | 164 | new_client->driver = &rtc8564_driver; |