summaryrefslogtreecommitdiff
path: root/drivers/misc
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-06-25 10:55:44 +0300
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2019-06-27 16:55:08 +0300
commitdce91ba39c765b2b90d07c717683abcdd9891592 (patch)
treed06b225d39702335ea8c662efdd606b5685ac23f /drivers/misc
parent9ae9d9bfb72ce43ab5851da55dd17c5f64e87151 (diff)
downloadlinux-dce91ba39c765b2b90d07c717683abcdd9891592.tar.xz
eeprom: at24: modify a comment referring to platform data
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>
Diffstat (limited to 'drivers/misc')
-rw-r--r--drivers/misc/eeprom/at24.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/misc/eeprom/at24.c b/drivers/misc/eeprom/at24.c
index 8b07b18e9759..35bf2477693d 100644
--- a/drivers/misc/eeprom/at24.c
+++ b/drivers/misc/eeprom/at24.c
@@ -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;