Remove the read and write methods from the I2C interface

This commit is contained in:
Gregory Nutt
2016-02-01 09:22:22 -06:00
parent 8c9bddf998
commit ecdc428086
2 changed files with 1 additions and 5 deletions
+1 -1
Submodule arch updated: 6e62a82efb...fab7376e23
-4
View File
@@ -153,10 +153,6 @@ struct i2c_ops_s
{
uint32_t (*setfrequency)(FAR struct i2c_master_s *dev, uint32_t frequency);
int (*setaddress)(FAR struct i2c_master_s *dev, int addr, int nbits);
int (*write)(FAR struct i2c_master_s *dev, FAR const uint8_t *buffer,
int buflen);
int (*read)(FAR struct i2c_master_s *dev, FAR uint8_t *buffer,
int buflen);
int (*transfer)(FAR struct i2c_master_s *dev, FAR struct i2c_msg_s *msgs,
int count);
};