]> www.pilppa.org Git - linux-2.6-omap-h63xx.git/commitdiff
[PATCH] I2C: drop bogus eeprom comment
authorJean Delvare <khali@linux-fr.org>
Thu, 23 Jun 2005 21:43:00 +0000 (23:43 +0200)
committerGreg Kroah-Hartman <gregkh@suse.de>
Mon, 11 Jul 2005 21:10:36 +0000 (14:10 -0700)
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>
drivers/i2c/chips/eeprom.c

index addf0adc24d406060c97371b7b90203911289450..6ea413f6d5e562b18bea2016f6feab93da4cf261 100644 (file)
@@ -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;