eeprom: at24: modify a comment referring to platform data
authorBartosz Golaszewski <bgolaszewski@baylibre.com>
Tue, 25 Jun 2019 07:55:44 +0000 (09:55 +0200)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Thu, 27 Jun 2019 13:55:08 +0000 (15:55 +0200)
We no longer have platform data in at24, so this comment is invalid.
Make it refer to device tree & properties instead.

Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
Acked-by: Wolfram Sang <wsa@the-dreams.de>
drivers/misc/eeprom/at24.c

index 8b07b18..35bf247 100644 (file)
@@ -582,8 +582,8 @@ static int at24_probe(struct i2c_client *client)
        if (err)
                /*
                 * This is slow, but we can't know all eeproms, so we better
-                * play safe. Specifying custom eeprom-types via platform_data
-                * is recommended anyhow.
+                * play safe. Specifying custom eeprom-types via device tree
+                * or properties is recommended anyhow.
                 */
                page_size = 1;