Skip to content

Commit 7d4cbda

Browse files
Wolfram SangAndi Shyti
authored andcommitted
i2c: pasemi: reword according to newest specification
Change the wording of this driver wrt. the newest I2C v7 and SMBus 3.2 specifications and replace "master/slave" with more appropriate terms. Signed-off-by: Wolfram Sang <[email protected]> Acked-by: Sven Peter <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Signed-off-by: Andi Shyti <[email protected]>
1 parent b4a0ca1 commit 7d4cbda

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

drivers/i2c/busses/i2c-pasemi-core.c

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -336,9 +336,9 @@ static u32 pasemi_smb_func(struct i2c_adapter *adapter)
336336
}
337337

338338
static const struct i2c_algorithm smbus_algorithm = {
339-
.master_xfer = pasemi_i2c_xfer,
340-
.smbus_xfer = pasemi_smb_xfer,
341-
.functionality = pasemi_smb_func,
339+
.xfer = pasemi_i2c_xfer,
340+
.smbus_xfer = pasemi_smb_xfer,
341+
.functionality = pasemi_smb_func,
342342
};
343343

344344
int pasemi_i2c_common_probe(struct pasemi_smbus *smbus)

0 commit comments

Comments
 (0)