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

index 2737fd8abd32494b2aaed2727f9cfe6a824edaf0..ab2688bd4d338a5d35cf2c21bc72e3dcb7169d29 100644 (file)
@@ -235,8 +235,8 @@ static u32 ec_i2c_functionality(struct i2c_adapter *adap)
 }
 
 static const struct i2c_algorithm ec_i2c_algorithm = {
-       .master_xfer    = ec_i2c_xfer,
-       .functionality  = ec_i2c_functionality,
+       .xfer = ec_i2c_xfer,
+       .functionality = ec_i2c_functionality,
 };
 
 static int ec_i2c_probe(struct platform_device *pdev)