You've already forked linux-apfs
mirror of
https://github.com/linux-apfs/linux-apfs.git
synced 2026-05-01 15:00:59 -07:00
i2c: Remove NOP i2c_algorithm.algo_control() methods
This removes NOP implementations of i2c_algorithm.algo_control. With this change, there are no implementations of this hook in the kernel.org tree ... that hook seems about ripe to remove. Signed-off-by: David Brownell <dbrownell@users.sourceforge.net> Signed-off-by: Jean Delvare <khali@linux-fr.org>
This commit is contained in:
committed by
Jean Delvare
parent
e265cfa19c
commit
3be27d37c2
@@ -389,13 +389,6 @@ iop3xx_i2c_master_xfer(struct i2c_adapter *i2c_adap, struct i2c_msg *msgs,
|
||||
return im;
|
||||
}
|
||||
|
||||
static int
|
||||
iop3xx_i2c_algo_control(struct i2c_adapter *adapter, unsigned int cmd,
|
||||
unsigned long arg)
|
||||
{
|
||||
return 0;
|
||||
}
|
||||
|
||||
static u32
|
||||
iop3xx_i2c_func(struct i2c_adapter *adap)
|
||||
{
|
||||
@@ -404,7 +397,6 @@ iop3xx_i2c_func(struct i2c_adapter *adap)
|
||||
|
||||
static const struct i2c_algorithm iop3xx_i2c_algo = {
|
||||
.master_xfer = iop3xx_i2c_master_xfer,
|
||||
.algo_control = iop3xx_i2c_algo_control,
|
||||
.functionality = iop3xx_i2c_func,
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user