Skip to contentSkip to conversation

w1: w1_therm: correct function name bulk_read_support()

PATCH New Yang Yingliang 1 participant 1 message May 18, 2021 W1 dallas's 1-wire bus

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 w1: w1_therm: correct function name bulk_read_support()

Fix the following make W=1 kernel build warning:

drivers/w1/slaves/w1_therm.c:843: warning: expecting prototype for support_bulk_read(). Prototype was for bulk_read_support() instead

---
 drivers/w1/slaves/w1_therm.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
drivers/w1/slaves/w1_therm.c +1 -1
index 9d08a1c9c445..a284da567ff9 100644
@@ -834,7 +834,7 @@ static int check_family_data(struct w1_slave *sl)
 }
 
 /**
- * support_bulk_read() - check if slave support bulk read
+ * bulk_read_support() - check if slave support bulk read
  * @sl: device to check the ability
  *
  * Return: true if bulk read is supported, false if not or error
Signature · 1 line
2.25.1