i2c: replace 'i2c_smbus_ioctl()' with another functions. 81/160281/1
authorSegwon <segwon.han@samsung.com>
Wed, 15 Nov 2017 07:55:08 +0000 (16:55 +0900)
committerSegwon <segwon.han@samsung.com>
Wed, 15 Nov 2017 07:55:08 +0000 (16:55 +0900)
commit8ea72de00628c59ded9892af841c6395df28d16e
treea4b41f1053cf3524191a46148d7a6f4e009d8486
parentd934f33cca753b515853713c844369ca5e8e6e22
i2c: replace 'i2c_smbus_ioctl()' with another functions.

 - do not use 'i2c_smbus_ioctl_data' structure in caller.
 - remove : i2c_smbus_ioctl()
 - add : peripheral_interface_i2c_read_register_byte()
 - add : peripheral_interface_i2c_write_register_byte()
 - add : peripheral_interface_i2c_read_register_word()
 - add : peripheral_interface_i2c_write_register_word()

Change-Id: Ia73f3febcf1412a5101a83b2106a0d7c695a2ce4
Signed-off-by: Segwon <segwon.han@samsung.com>
include/interface/peripheral_interface_i2c.h
src/interface/peripheral_interface_i2c.c