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

2
arch

@ -1 +1 @@
Subproject commit 6e62a82efb16b69c704888c98a4c44442c69b803
Subproject commit fab7376e230534ef45d55f4a575da24f86b01360

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);
};