Skip to content

Commit 532cc21

Browse files
Wolfram SangAndi Shyti
authored andcommitted
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 <[email protected]> Acked-by: Viresh Kumar <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Signed-off-by: Andi Shyti <[email protected]>
1 parent a0e74dd commit 532cc21

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/i2c/busses/i2c-virtio.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -183,7 +183,7 @@ static u32 virtio_i2c_func(struct i2c_adapter *adap)
183183
}
184184

185185
static struct i2c_algorithm virtio_algorithm = {
186-
.master_xfer = virtio_i2c_xfer,
186+
.xfer = virtio_i2c_xfer,
187187
.functionality = virtio_i2c_func,
188188
};
189189

0 commit comments

Comments
 (0)