]> www.infradead.org Git - users/jedix/linux-maple.git/commitdiff
i2c: thunderx-pcidrv: reword according to newest specification
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 6 Jul 2024 11:20:51 +0000 (13:20 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Thu, 11 Jul 2024 13:14:23 +0000 (15:14 +0200)
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>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
drivers/i2c/busses/i2c-thunderx-pcidrv.c

index 32d0e3930b675484138084e1bbed2e7cf898e1e1..143d012fa43ecd854e9a8898c3398ac191acb464 100644 (file)
@@ -72,7 +72,7 @@ static u32 thunderx_i2c_functionality(struct i2c_adapter *adap)
 }
 
 static const struct i2c_algorithm thunderx_i2c_algo = {
-       .master_xfer = octeon_i2c_xfer,
+       .xfer = octeon_i2c_xfer,
        .functionality = thunderx_i2c_functionality,
 };