summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJean Delvare <khali@linux-fr.org>2005-06-23 23:43:00 +0200
committerGreg Kroah-Hartman <gregkh@suse.de>2005-07-11 14:10:36 -0700
commit2db32767874fe53faff4f80de878ca19927efc1f (patch)
tree4ac3024bd4e29e7770f96244b386429d991c58f7
parenta0920e10438e9fe8b22aba607083347c84458ed8 (diff)
downloadop-kernel-dev-2db32767874fe53faff4f80de878ca19927efc1f.zip
op-kernel-dev-2db32767874fe53faff4f80de878ca19927efc1f.tar.gz
[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>
-rw-r--r--drivers/i2c/chips/eeprom.c3
1 files changed, 0 insertions, 3 deletions
diff --git a/drivers/i2c/chips/eeprom.c b/drivers/i2c/chips/eeprom.c
index addf0ad..6ea413f 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)
| I2C_FUNC_SMBUS_BYTE))
goto exit;
- /* OK. For now, we presume we have a valid client. We now create the
- client structure, even though we cannot fill it completely yet.
- But it allows us to access eeprom_{read,write}_value. */
if (!(data = kmalloc(sizeof(struct eeprom_data), GFP_KERNEL))) {
err = -ENOMEM;
goto exit;
OpenPOWER on IntegriCloud