aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/chips/rtc8564.c
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/i2c/chips/rtc8564.c')
-rw-r--r--drivers/i2c/chips/rtc8564.c2
1 files changed, 1 insertions, 1 deletions
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;