misc: i2c_eeprom: support DT pagesize property
authorBaruch Siach <baruch@tkos.co.il>
Sun, 7 Apr 2019 09:38:48 +0000 (12:38 +0300)
committerHeiko Schocher <hs@denx.de>
Thu, 11 Apr 2019 13:21:33 +0000 (15:21 +0200)
commita29034d1e6d1c1535055f455b5af5906a7edbc04
tree2045df6536fe9b1c36a89beeddfdfccdb84e55dd
parent9985b74bf6d6550b83370e28057f11eab2a647d7
misc: i2c_eeprom: support DT pagesize property

Read the page size from DT when available.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Heiko Schocher <hs@denx.de>
drivers/misc/i2c_eeprom.c