]> git.dujemihanovic.xyz Git - u-boot.git/commit
misc: i2c_eeprom: store pagesize instead of pagewidth in i2c_eeprom_drv_data
authorMasahiro Yamada <yamada.masahiro@socionext.com>
Fri, 28 Feb 2020 13:04:14 +0000 (22:04 +0900)
committerHeiko Schocher <hs@denx.de>
Mon, 16 Mar 2020 07:03:29 +0000 (08:03 +0100)
commit0c17bb1cbe87c5b00880d3445b46c437f3f22e02
treea5fa9ecf2527ab87edfa1fc85385f8856e0d79f9
parented6dd4e460bd94150dc09fce547a27e2fcca66eb
misc: i2c_eeprom: store pagesize instead of pagewidth in i2c_eeprom_drv_data

Associate the pagesize with compatible strings, and copy it to
priv->pagesize. This is more straight-forward.

Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com>
drivers/misc/i2c_eeprom.c