Message ID | 20190625075544.17796-1-brgl@bgdev.pl |
---|---|
State | Accepted |
Delegated to: | Bartosz Golaszewski |
Headers | show |
Series | eeprom: at24: modify a comment referring to platform data | expand |
On Tue, Jun 25, 2019 at 09:55:44AM +0200, Bartosz Golaszewski wrote: > From: Bartosz Golaszewski <bgolaszewski@baylibre.com> > > 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> Obviously. Acked-by: Wolfram Sang <wsa@the-dreams.de>
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;