aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/misc
diff options
context:
space:
mode:
authorBartosz Golaszewski <bgolaszewski@baylibre.com>2019-06-25 09:55:44 +0200
committerBartosz Golaszewski <bgolaszewski@baylibre.com>2019-06-27 15:55:08 +0200
commitdce91ba39c765b2b90d07c717683abcdd9891592 (patch)
treed06b225d39702335ea8c662efdd606b5685ac23f /drivers/misc
parenteeprom: at24: use struct_size() in devm_kzalloc() (diff)
downloadlinux-dev-dce91ba39c765b2b90d07c717683abcdd9891592.tar.xz
linux-dev-dce91ba39c765b2b90d07c717683abcdd9891592.zip
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;