summaryrefslogtreecommitdiffstats
path: root/drivers/i2c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2024-07-06 13:20:43 +0200
committerAndi Shyti <andi.shyti@kernel.org>2024-07-11 15:14:20 +0200
commitfd4b7e03d65e4a2e135924a8c21cc79288f1ba96 (patch)
tree2d870d2c07ab4e490293d8910561e9895ef4e7b8 /drivers/i2c
parentb340db73513e95aed95d00157afa4dc7479903ed (diff)
downloadlinux-stable-fd4b7e03d65e4a2e135924a8c21cc79288f1ba96.tar.gz
linux-stable-fd4b7e03d65e4a2e135924a8c21cc79288f1ba96.tar.bz2
linux-stable-fd4b7e03d65e4a2e135924a8c21cc79288f1ba96.zip
i2c: robotfuzz-osif: 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> Reviewed-by: Andi Shyti <andi.shyti@kernel.org> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r--drivers/i2c/busses/i2c-robotfuzz-osif.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/busses/i2c-robotfuzz-osif.c b/drivers/i2c/busses/i2c-robotfuzz-osif.c
index 66dfa211e736..80d45079b763 100644
--- a/drivers/i2c/busses/i2c-robotfuzz-osif.c
+++ b/drivers/i2c/busses/i2c-robotfuzz-osif.c
@@ -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