]> git.baikalelectronics.ru Git - kernel.git/commit
i2c: busses: i2c-st: Fix copy/paste function misnaming issues
authorLee Jones <lee.jones@linaro.org>
Thu, 20 May 2021 19:01:02 +0000 (20:01 +0100)
committerWolfram Sang <wsa@kernel.org>
Thu, 27 May 2021 19:39:35 +0000 (21:39 +0200)
commitb9e4bc5acd6df40360b9b7ab137eede4bc346147
tree7efaccabaf0fe2ceaf065468e326a35212482b3f
parent24027476a545342ff69b19ecfe1149336021e37a
i2c: busses: i2c-st: Fix copy/paste function misnaming issues

Fixes the following W=1 kernel build warning(s):

 drivers/i2c/busses/i2c-st.c:531: warning: expecting prototype for st_i2c_handle_write(). Prototype was for st_i2c_handle_read() instead
 drivers/i2c/busses/i2c-st.c:566: warning: expecting prototype for st_i2c_isr(). Prototype was for st_i2c_isr_thread() instead

Fix the "enmpty" typo while here.

Signed-off-by: Lee Jones <lee.jones@linaro.org>
Reviewed-by: Alain Volmat <alain.volmat@foss.st.com>
Signed-off-by: Wolfram Sang <wsa@kernel.org>
drivers/i2c/busses/i2c-st.c