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

index 66dfa211e736b1a8a7d0e9392f8dfad95eeac569..80d45079b763c0104426a26a1b702c5132f6db29 100644 (file)
@@ -112,8 +112,8 @@ static u32 osif_func(struct i2c_adapter *adapter)
 }
 
 static const struct i2c_algorithm osif_algorithm = {
-       .master_xfer    = osif_xfer,
-       .functionality  = osif_func,
+       .xfer = osif_xfer,
+       .functionality = osif_func,
 };
 
 #define USB_OSIF_VENDOR_ID     0x1964