diff mbox series

[v2,24/60] i2c: jz4780: reword according to newest specification

Message ID 20240706112116.24543-25-wsa+renesas@sang-engineering.com (mailing list archive)
State Handled Elsewhere
Headers show
Series i2c: reword first drivers according to newest specification | expand

Commit Message

Wolfram Sang July 6, 2024, 11:20 a.m. UTC
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>
---
 drivers/i2c/busses/i2c-jz4780.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Comments

Paul Cercueil July 8, 2024, 11:20 a.m. UTC | #1
Hi Wolfram,

Le samedi 06 juillet 2024 à 13:20 +0200, Wolfram Sang a écrit :
> 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: Paul Cercueil <paul@crapouillou.net>

Cheers,
-Paul

> ---
>  drivers/i2c/busses/i2c-jz4780.c | 4 ++--
>  1 file changed, 2 insertions(+), 2 deletions(-)
> 
> diff --git a/drivers/i2c/busses/i2c-jz4780.c
> b/drivers/i2c/busses/i2c-jz4780.c
> index 7951891d6b97..4aafdfab6305 100644
> --- a/drivers/i2c/busses/i2c-jz4780.c
> +++ b/drivers/i2c/busses/i2c-jz4780.c
> @@ -730,8 +730,8 @@ static u32 jz4780_i2c_functionality(struct
> i2c_adapter *adap)
>  }
>  
>  static const struct i2c_algorithm jz4780_i2c_algorithm = {
> -	.master_xfer	= jz4780_i2c_xfer,
> -	.functionality	= jz4780_i2c_functionality,
> +	.xfer = jz4780_i2c_xfer,
> +	.functionality = jz4780_i2c_functionality,
>  };
>  
>  static const struct ingenic_i2c_config jz4780_i2c_config = {
Andi Shyti July 10, 2024, 9:45 p.m. UTC | #2
Hi Wolfram,

On Sat, Jul 06, 2024 at 01:20:24PM GMT, 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>

Reviewed-by: Andi Shyti <andi.shyti@kernel.org>

Thanks,
Andi
diff mbox series

Patch

diff --git a/drivers/i2c/busses/i2c-jz4780.c b/drivers/i2c/busses/i2c-jz4780.c
index 7951891d6b97..4aafdfab6305 100644
--- a/drivers/i2c/busses/i2c-jz4780.c
+++ b/drivers/i2c/busses/i2c-jz4780.c
@@ -730,8 +730,8 @@  static u32 jz4780_i2c_functionality(struct i2c_adapter *adap)
 }
 
 static const struct i2c_algorithm jz4780_i2c_algorithm = {
-	.master_xfer	= jz4780_i2c_xfer,
-	.functionality	= jz4780_i2c_functionality,
+	.xfer = jz4780_i2c_xfer,
+	.functionality = jz4780_i2c_functionality,
 };
 
 static const struct ingenic_i2c_config jz4780_i2c_config = {