diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-10-08 00:19:52 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-10-28 23:02:10 +0200 |
commit | 00bffb6e29c5ef12cea7904905f8b959187076c9 (patch) | |
tree | 76da2f90a3ae3bd697cfbe8d7be358e9892b4f89 /drivers/i2c/chips/ds1374.c | |
parent | [PATCH] i2c: Rename i2c-parport variable to avoid confusion (diff) | |
download | linux-00bffb6e29c5ef12cea7904905f8b959187076c9.tar.xz linux-00bffb6e29c5ef12cea7904905f8b959187076c9.zip |
[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/ds1374.c')
-rw-r--r-- | drivers/i2c/chips/ds1374.c | 1 |
1 files changed, 0 insertions, 1 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) memset(client, 0, sizeof(struct i2c_client)); strncpy(client->name, DS1374_DRV_NAME, I2C_NAME_SIZE); - client->flags = I2C_DF_NOTIFY; client->addr = addr; client->adapter = adap; client->driver = &ds1374_driver; |