media: au0828-i2c: drop a duplicated function
This function is not used, so, just drop it. Reviewed-by: Nathan Chancellor <nathan@kernel.org> Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
This commit is contained in:
parent
77e956027c
commit
091b15db22
@ -23,13 +23,6 @@ MODULE_PARM_DESC(i2c_scan, "scan i2c bus at insmod time");
|
||||
#define I2C_WAIT_DELAY 25
|
||||
#define I2C_WAIT_RETRY 1000
|
||||
|
||||
static inline int i2c_slave_did_write_ack(struct i2c_adapter *i2c_adap)
|
||||
{
|
||||
struct au0828_dev *dev = i2c_adap->algo_data;
|
||||
return au0828_read(dev, AU0828_I2C_STATUS_201) &
|
||||
AU0828_I2C_STATUS_NO_WRITE_ACK ? 0 : 1;
|
||||
}
|
||||
|
||||
static inline int i2c_slave_did_read_ack(struct i2c_adapter *i2c_adap)
|
||||
{
|
||||
struct au0828_dev *dev = i2c_adap->algo_data;
|
||||
|
Loading…
Reference in New Issue
Block a user