]> www.infradead.org Git - users/dwmw2/linux.git/commitdiff
i2c: tegra-bpmp: reword according to newest specification
authorWolfram Sang <wsa+renesas@sang-engineering.com>
Sat, 6 Jul 2024 11:20:50 +0000 (13:20 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Thu, 11 Jul 2024 13:14:22 +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-tegra-bpmp.c

index b0840fa0f53e09ea37c174059490a53e4f3f9998..dabadbcc6d6a2dc630546b6f7bd01f1a230b696a 100644 (file)
@@ -275,8 +275,8 @@ static u32 tegra_bpmp_i2c_func(struct i2c_adapter *adapter)
 }
 
 static const struct i2c_algorithm tegra_bpmp_i2c_algo = {
-       .master_xfer = tegra_bpmp_i2c_xfer,
-       .master_xfer_atomic = tegra_bpmp_i2c_xfer_atomic,
+       .xfer = tegra_bpmp_i2c_xfer,
+       .xfer_atomic = tegra_bpmp_i2c_xfer_atomic,
        .functionality = tegra_bpmp_i2c_func,
 };