commit | 9cf27d74a829f651c0da5d80c014a6cef9d4cbd8 | [log] [tgz] |
---|---|---|
author | Corey Minyard <cminyard@mvista.com> | Fri Nov 30 13:38:21 2018 -0600 |
committer | Corey Minyard <cminyard@mvista.com> | Wed Feb 27 21:06:08 2019 -0600 |
tree | 74bb0f0aee54e6e81fccfeb58417bcecaab85366 | |
parent | 905cec6d11088e585fcedb3fd606510959ee50ff [diff] |
i2c:smbus: Simplify write operation There were two different write functions and the SMBus code kept track of the command. Keeping track of the command wasn't useful, in fact it wasn't quite correct for the eeprom_smbus code. And there is no need for two write functions. Just have one write function and the first byte in the buffer is the command. Signed-off-by: Corey Minyard <cminyard@mvista.com>