]> Git Repo - linux.git/commitdiff
eeprom: at24: modify a comment referring to platform data
authorBartosz Golaszewski <[email protected]>
Tue, 25 Jun 2019 07:55:44 +0000 (09:55 +0200)
committerBartosz Golaszewski <[email protected]>
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 <[email protected]>
Acked-by: Wolfram Sang <[email protected]>
drivers/misc/eeprom/at24.c

index 8b07b18e9759bad6b5653c0766f478a18e3b399d..35bf2477693d31a375469f13dd1800e98f3f5c0b 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;
 
This page took 0.055516 seconds and 4 git commands to generate.