Skip to content

Commit 3724934

Browse files
Wolfram SangAndi Shyti
authored andcommitted
i2c: kempld: 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>
1 parent 057377d commit 3724934

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/i2c/busses/i2c-kempld.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -276,8 +276,8 @@ static u32 kempld_i2c_func(struct i2c_adapter *adap)
276276
}
277277

278278
static const struct i2c_algorithm kempld_i2c_algorithm = {
279-
.master_xfer = kempld_i2c_xfer,
280-
.functionality = kempld_i2c_func,
279+
.xfer = kempld_i2c_xfer,
280+
.functionality = kempld_i2c_func,
281281
};
282282

283283
static const struct i2c_adapter kempld_i2c_adapter = {

0 commit comments

Comments
 (0)