summaryrefslogtreecommitdiff
path: root/include/linux
diff options
context:
space:
mode:
authorByungchul Park <byungchul@sk.com>2025-10-02 17:12:35 +0900
committerWolfram Sang <wsa+renesas@sang-engineering.com>2025-10-04 18:52:58 +0200
commitb71a6e2a1b710ea31c363a72c75f510ef35d8e69 (patch)
tree77159099ad2c2b2dcf9e0cf826140578e3a92c8f /include/linux
parent1884f54e48da54a16b6f03b6b1ea6b88f096c28e (diff)
i2c: rename wait_for_completion callback to wait_for_completion_cb
Functionally no change. Remove the ambiguity of 'wait_for_completion'. It helps development of the DEPT dependency tracker, but seems favorable in any case. Signed-off-by: Byungchul Park <byungchul@sk.com> [wsa: reworded commit message] Signed-off-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Diffstat (limited to 'include/linux')
-rw-r--r--include/linux/i2c-algo-pca.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/linux/i2c-algo-pca.h b/include/linux/i2c-algo-pca.h
index 7c522fdd9ea7..e305bf32e40a 100644
--- a/include/linux/i2c-algo-pca.h
+++ b/include/linux/i2c-algo-pca.h
@@ -71,7 +71,7 @@ struct i2c_algo_pca_data {
void *data; /* private low level data */
void (*write_byte) (void *data, int reg, int val);
int (*read_byte) (void *data, int reg);
- int (*wait_for_completion) (void *data);
+ int (*wait_for_completion_cb) (void *data);
void (*reset_chip) (void *data);
/* For PCA9564, use one of the predefined frequencies:
* 330000, 288000, 217000, 146000, 88000, 59000, 44000, 36000