On 7/6/24 04:20, Wolfram Sang wrote:
> 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: Guenter Roeck <linux@roeck-us.net>
> ---
> drivers/i2c/busses/i2c-diolan-u2c.c | 2 +-
> 1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/i2c/busses/i2c-diolan-u2c.c b/drivers/i2c/busses/i2c-diolan-u2c.c
> index b48b7888936f..c02459405b26 100644
> --- a/drivers/i2c/busses/i2c-diolan-u2c.c
> +++ b/drivers/i2c/busses/i2c-diolan-u2c.c
> @@ -414,7 +414,7 @@ static u32 diolan_usb_func(struct i2c_adapter *a)
> }
>
> static const struct i2c_algorithm diolan_usb_algorithm = {
> - .master_xfer = diolan_usb_xfer,
> + .xfer = diolan_usb_xfer,
> .functionality = diolan_usb_func,
> };
>