Skip to content

Commit fd4b7e0

Browse files
Wolfram SangAndi Shyti
authored andcommitted
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 <[email protected]> Reviewed-by: Andi Shyti <[email protected]> Signed-off-by: Andi Shyti <[email protected]>
1 parent b340db7 commit fd4b7e0

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

drivers/i2c/busses/i2c-robotfuzz-osif.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -112,8 +112,8 @@ static u32 osif_func(struct i2c_adapter *adapter)
112112
}
113113

114114
static const struct i2c_algorithm osif_algorithm = {
115-
.master_xfer = osif_xfer,
116-
.functionality = osif_func,
115+
.xfer = osif_xfer,
116+
.functionality = osif_func,
117117
};
118118

119119
#define USB_OSIF_VENDOR_ID 0x1964

0 commit comments

Comments
 (0)