diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-07-06 14:20:37 +0300 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2024-07-11 16:14:17 +0300 |
commit | 7d4cbda7c7ebbdf97e0c28d7640898549f6a3d0a (patch) | |
tree | d21032b56570bc1e71f0bf8418dd390f81817033 /drivers/i2c | |
parent | b4a0ca13024319545286d7aa9ce79288261e6f4b (diff) | |
download | linux-7d4cbda7c7ebbdf97e0c28d7640898549f6a3d0a.tar.xz |
i2c: pasemi: 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: Sven Peter <sven@svenpeter.dev>
Reviewed-by: Andi Shyti <andi.shyti@kernel.org>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'drivers/i2c')
-rw-r--r-- | drivers/i2c/busses/i2c-pasemi-core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-pasemi-core.c b/drivers/i2c/busses/i2c-pasemi-core.c index bd8becbdeeb2..dac694a9d781 100644 --- a/drivers/i2c/busses/i2c-pasemi-core.c +++ b/drivers/i2c/busses/i2c-pasemi-core.c @@ -336,9 +336,9 @@ static u32 pasemi_smb_func(struct i2c_adapter *adapter) } static const struct i2c_algorithm smbus_algorithm = { - .master_xfer = pasemi_i2c_xfer, - .smbus_xfer = pasemi_smb_xfer, - .functionality = pasemi_smb_func, + .xfer = pasemi_i2c_xfer, + .smbus_xfer = pasemi_smb_xfer, + .functionality = pasemi_smb_func, }; int pasemi_i2c_common_probe(struct pasemi_smbus *smbus) |