aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/i2c/chips/m41t00.c
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-10-07 18:19:52 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2005-10-28 17:02:10 -0400
commit00bffb6e29c5ef12cea7904905f8b959187076c9 (patch)
tree76da2f90a3ae3bd697cfbe8d7be358e9892b4f89 /drivers/i2c/chips/m41t00.c
parent6c129be8c7bd1bdbd47ba8e17f6e5053ef04aee8 (diff)
[PATCH] i2c: Drop meaningless use of I2C_DF_NOTIFY in i2c_client structures
I2C_DF_NOTIFY is an i2c_driver flag, using it as an i2c_client flag doesn't make any sense. Signed-off-by: Jean Delvare <khali@linux-fr.org> Acked-by: Mark A. Greer <mgreer@mvista.com> Acked-by: Randy Vinson <rvinson@mvista.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/i2c/chips/m41t00.c')
-rw-r--r--drivers/i2c/chips/m41t00.c1
1 files changed, 0 insertions, 1 deletions
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;