diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-07-06 13:20:58 +0200 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2024-07-11 15:14:25 +0200 |
commit | 532cc2176ab6a54cbcffaff0a28d31f3cc7263a2 (patch) | |
tree | b6548d776dcc01ad326deddae72727e999fac39c /drivers/i2c/busses | |
parent | i2c: nvidia-gpu: reword according to newest specification (diff) | |
download | linux-532cc2176ab6a54cbcffaff0a28d31f3cc7263a2.tar.xz linux-532cc2176ab6a54cbcffaff0a28d31f3cc7263a2.zip |
i2c: virtio: 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>
Acked-by: Viresh Kumar <viresh.kumar@linaro.org>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'drivers/i2c/busses')
-rw-r--r-- | drivers/i2c/busses/i2c-virtio.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-virtio.c b/drivers/i2c/busses/i2c-virtio.c index c60ae531ba57..52ba1e0845ca 100644 --- a/drivers/i2c/busses/i2c-virtio.c +++ b/drivers/i2c/busses/i2c-virtio.c @@ -183,7 +183,7 @@ static u32 virtio_i2c_func(struct i2c_adapter *adap) } static struct i2c_algorithm virtio_algorithm = { - .master_xfer = virtio_i2c_xfer, + .xfer = virtio_i2c_xfer, .functionality = virtio_i2c_func, }; |