xfree86: i2c: drop unused xf86I2CReadStatus()
Not used anywhere, so no need to keep it around any longer. Signed-off-by: Enrico Weigelt, metux IT consult <info@metux.net>
This commit is contained in:
parent
7a61143169
commit
d4515dfa9c
|
@ -452,15 +452,6 @@ xf86I2CWriteRead(I2CDevPtr d,
|
|||
return b->I2CWriteRead(d, WriteBuffer, nWrite, ReadBuffer, nRead);
|
||||
}
|
||||
|
||||
/* Read a byte, the only readable register of a device.
|
||||
*/
|
||||
|
||||
Bool
|
||||
xf86I2CReadStatus(I2CDevPtr d, I2CByte * pbyte)
|
||||
{
|
||||
return xf86I2CWriteRead(d, NULL, 0, pbyte, 1);
|
||||
}
|
||||
|
||||
/* Read a byte from one of the registers determined by its sub-address.
|
||||
*/
|
||||
|
||||
|
|
|
@ -98,7 +98,6 @@ extern _X_EXPORT Bool xf86I2CWriteRead(I2CDevPtr d, I2CByte * WriteBuffer,
|
|||
int nRead);
|
||||
#define xf86I2CRead(d, rb, nr) xf86I2CWriteRead(d, NULL, 0, rb, nr)
|
||||
|
||||
extern _X_EXPORT Bool xf86I2CReadStatus(I2CDevPtr d, I2CByte * pbyte);
|
||||
extern _X_EXPORT Bool xf86I2CReadByte(I2CDevPtr d, I2CByte subaddr,
|
||||
I2CByte * pbyte);
|
||||
extern _X_EXPORT Bool xf86I2CReadBytes(I2CDevPtr d, I2CByte subaddr,
|
||||
|
|
Loading…
Reference in New Issue