Skip to content

Commit 890a12d

Browse files
Cezar ChiruAndi Shyti
authored andcommitted
i2c: pcf8584: Change pcf_doAdress() to pcf_send_address()
Change name of pcf_doAddress() function to pcf_send_address() to be more in line with the kernel functions naming. Suggested-by: Andi Shyti <andi.shyti@kernel.org> Signed-off-by: Cezar Chiru <chiru.cezar.89@gmail.com> Signed-off-by: Andi Shyti <andi.shyti@kernel.org> Link: https://lore.kernel.org/r/20251023120043.8661-4-chiru.cezar.89@gmail.com
1 parent e7ba303 commit 890a12d

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

drivers/i2c/algos/i2c-algo-pcf.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -253,7 +253,7 @@ static int pcf_readbytes(struct i2c_adapter *i2c_adap, char *buf,
253253
}
254254

255255

256-
static void pcf_doAddress(struct i2c_algo_pcf_data *adap,
256+
static void pcf_send_address(struct i2c_algo_pcf_data *adap,
257257
struct i2c_msg *msg)
258258
{
259259
unsigned char addr = i2c_8bit_addr_from_msg(msg);
@@ -286,7 +286,7 @@ static int pcf_xfer(struct i2c_adapter *i2c_adap,
286286
int ret;
287287

288288
pmsg = &msgs[i];
289-
pcf_doAddress(adap, pmsg);
289+
pcf_send_address(adap, pmsg);
290290

291291
/* Send START */
292292
if (i == 0)

0 commit comments

Comments
 (0)