summaryrefslogtreecommitdiffstats
path: root/drivers/i2c/busses/i2c-highlander.c
diff options
context:
space:
mode:
authorWolfram Sang <wsa+renesas@sang-engineering.com>2024-07-06 13:20:17 +0200
committerAndi Shyti <andi.shyti@kernel.org>2024-07-11 15:14:09 +0200
commit5c9c9bff687ba6e1ec5ed6ce5fcf101eaaab8bc7 (patch)
treeaf51020941ce0c6a2abab122f83aae0afe2dd68c /drivers/i2c/busses/i2c-highlander.c
parent9557d1264de3fed328c7e10e2c463506c6533fdf (diff)
downloadlinux-5c9c9bff687ba6e1ec5ed6ce5fcf101eaaab8bc7.tar.gz
linux-5c9c9bff687ba6e1ec5ed6ce5fcf101eaaab8bc7.tar.bz2
linux-5c9c9bff687ba6e1ec5ed6ce5fcf101eaaab8bc7.zip
i2c: highlander: 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> Reviewed-by: Andi Shyti <andi.shyti@kernel.org> Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Diffstat (limited to 'drivers/i2c/busses/i2c-highlander.c')
-rw-r--r--drivers/i2c/busses/i2c-highlander.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/i2c/busses/i2c-highlander.c b/drivers/i2c/busses/i2c-highlander.c
index 7922bc917c33..ec1ebacb9aa8 100644
--- a/drivers/i2c/busses/i2c-highlander.c
+++ b/drivers/i2c/busses/i2c-highlander.c
@@ -331,7 +331,7 @@ static int highlander_i2c_smbus_xfer(struct i2c_adapter *adap, u16 addr,
/* Ensure we're in a sane state */
highlander_i2c_done(dev);
- /* Set slave address */
+ /* Set target address */
iowrite16((addr << 1) | read_write, dev->base + SMSMADR);
highlander_i2c_command(dev, command, dev->buf_len);