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>
This commit is contained in:
parent
9ae9d9bfb7
commit
dce91ba39c
@ -582,8 +582,8 @@ static int at24_probe(struct i2c_client *client)
|
|||||||
if (err)
|
if (err)
|
||||||
/*
|
/*
|
||||||
* This is slow, but we can't know all eeproms, so we better
|
* This is slow, but we can't know all eeproms, so we better
|
||||||
* play safe. Specifying custom eeprom-types via platform_data
|
* play safe. Specifying custom eeprom-types via device tree
|
||||||
* is recommended anyhow.
|
* or properties is recommended anyhow.
|
||||||
*/
|
*/
|
||||||
page_size = 1;
|
page_size = 1;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user