summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorCezar Chiru <chiru.cezar.89@gmail.com>2025-10-23 15:00:43 +0300
committerAndi Shyti <andi.shyti@kernel.org>2025-10-28 17:05:39 +0100
commit890a12d2f78111ad0dde09a925f29029221b24cc (patch)
tree0d01d568168d47b807216febf665bcae9c91ddcb
parente7ba30357ad4ea27ae424add599805f8fa237090 (diff)
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
-rw-r--r--drivers/i2c/algos/i2c-algo-pcf.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/i2c/algos/i2c-algo-pcf.c b/drivers/i2c/algos/i2c-algo-pcf.c
index 6352314e48ed..a87ecea7f510 100644
--- a/drivers/i2c/algos/i2c-algo-pcf.c
+++ b/drivers/i2c/algos/i2c-algo-pcf.c
@@ -253,7 +253,7 @@ static int pcf_readbytes(struct i2c_adapter *i2c_adap, char *buf,
}
-static void pcf_doAddress(struct i2c_algo_pcf_data *adap,
+static void pcf_send_address(struct i2c_algo_pcf_data *adap,
struct i2c_msg *msg)
{
unsigned char addr = i2c_8bit_addr_from_msg(msg);
@@ -286,7 +286,7 @@ static int pcf_xfer(struct i2c_adapter *i2c_adap,
int ret;
pmsg = &msgs[i];
- pcf_doAddress(adap, pmsg);
+ pcf_send_address(adap, pmsg);
/* Send START */
if (i == 0)