forked from luck/tmp_suning_uos_patched
cd0c861542
Split at24_eeprom_write() into three smaller functions - one for the i2c operations and two for the smbus extensions (separate routines for block and byte transfers). Assign them in at24_probe() depending on the bus capabilities. Also: in order to avoid duplications move code adjusting the count argument into a separate function and use it for i2c and smbus block writes (no need for a roll-over for byte writes as we're always writing one byte). Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com> Signed-off-by: Wolfram Sang <wsa@the-dreams.de> |
||
---|---|---|
.. | ||
at24.c | ||
at25.c | ||
digsy_mtc_eeprom.c | ||
eeprom_93cx6.c | ||
eeprom_93xx46.c | ||
eeprom.c | ||
Kconfig | ||
Makefile | ||
max6875.c |