Skip to content

Commit 057377d

Browse files
Wolfram SangAndi Shyti
authored andcommitted
i2c: jz4780: 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 <wsa+renesas@sang-engineering.com> Acked-by: Paul Cercueil <paul@crapouillou.net> Reviewed-by: Andi Shyti <andi.shyti@kernel.org> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
1 parent 7d06f94 commit 057377d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/i2c/busses/i2c-jz4780.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -730,8 +730,8 @@ static u32 jz4780_i2c_functionality(struct i2c_adapter *adap)
730730
}
731731

732732
static const struct i2c_algorithm jz4780_i2c_algorithm = {
733-
.master_xfer = jz4780_i2c_xfer,
734-
.functionality = jz4780_i2c_functionality,
733+
.xfer = jz4780_i2c_xfer,
734+
.functionality = jz4780_i2c_functionality,
735735
};
736736

737737
static const struct ingenic_i2c_config jz4780_i2c_config = {

0 commit comments

Comments
 (0)