diff options
author | Wolfram Sang <wsa+renesas@sang-engineering.com> | 2024-07-06 13:20:12 +0200 |
---|---|---|
committer | Andi Shyti <andi.shyti@kernel.org> | 2024-07-11 15:14:07 +0200 |
commit | 4c77db838892f07f5e1601afaad569972fc17b76 (patch) | |
tree | cf8bd0a702a16a1853bbde8c8a7ccad06145996f | |
parent | 68e4c181719f8dd9bb2bbbb075501c4888023eb5 (diff) | |
download | linux-stable-4c77db838892f07f5e1601afaad569972fc17b76.tar.gz linux-stable-4c77db838892f07f5e1601afaad569972fc17b76.tar.bz2 linux-stable-4c77db838892f07f5e1601afaad569972fc17b76.zip |
i2c: digicolor: 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>
-rw-r--r-- | drivers/i2c/busses/i2c-digicolor.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/i2c/busses/i2c-digicolor.c b/drivers/i2c/busses/i2c-digicolor.c index 737604ae11fc..3e6b80e59b90 100644 --- a/drivers/i2c/busses/i2c-digicolor.c +++ b/drivers/i2c/busses/i2c-digicolor.c @@ -281,8 +281,8 @@ static u32 dc_i2c_func(struct i2c_adapter *adap) } static const struct i2c_algorithm dc_i2c_algorithm = { - .master_xfer = dc_i2c_xfer, - .functionality = dc_i2c_func, + .xfer = dc_i2c_xfer, + .functionality = dc_i2c_func, }; static int dc_i2c_probe(struct platform_device *pdev) @@ -372,5 +372,5 @@ static struct platform_driver dc_i2c_driver = { module_platform_driver(dc_i2c_driver); MODULE_AUTHOR("Baruch Siach <baruch@tkos.co.il>"); -MODULE_DESCRIPTION("Conexant Digicolor I2C master driver"); +MODULE_DESCRIPTION("Conexant Digicolor I2C controller driver"); MODULE_LICENSE("GPL v2"); |