diff options
author | Jean Delvare <khali@linux-fr.org> | 2005-06-23 17:43:00 -0400 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2005-07-11 17:10:36 -0400 |
commit | 2db32767874fe53faff4f80de878ca19927efc1f (patch) | |
tree | 4ac3024bd4e29e7770f96244b386429d991c58f7 /drivers/i2c | |
parent | a0920e10438e9fe8b22aba607083347c84458ed8 (diff) |
[PATCH] I2C: drop bogus eeprom comment
This simple patch drops an out-of-date comment in the eeprom i2c chip
driver.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/chips/eeprom.c | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/i2c/chips/eeprom.c b/drivers/i2c/chips/eeprom.c index addf0adc24d4..6ea413f6d5e5 100644 --- a/drivers/i2c/chips/eeprom.c +++ b/drivers/i2c/chips/eeprom.c | |||
@@ -173,9 +173,6 @@ int eeprom_detect(struct i2c_adapter *adapter, int address, int kind) | |||
173 | | I2C_FUNC_SMBUS_BYTE)) | 173 | | I2C_FUNC_SMBUS_BYTE)) |
174 | goto exit; | 174 | goto exit; |
175 | 175 | ||
176 | /* OK. For now, we presume we have a valid client. We now create the | ||
177 | client structure, even though we cannot fill it completely yet. | ||
178 | But it allows us to access eeprom_{read,write}_value. */ | ||
179 | if (!(data = kmalloc(sizeof(struct eeprom_data), GFP_KERNEL))) { | 176 | if (!(data = kmalloc(sizeof(struct eeprom_data), GFP_KERNEL))) { |
180 | err = -ENOMEM; | 177 | err = -ENOMEM; |
181 | goto exit; | 178 | goto exit; |