[PATCH 3.16 050/366] 1wire: family module autoload fails because of upper/lower case mismatch.
From: Ben Hutchings
Date: Sun Nov 11 2018 - 15:10:59 EST
3.16.61-rc1 review patch. If anyone has any objections, please let me know.
------------------
From: Ingo Flaschberger <ingo.flaschberger@xxxxxxxxx>
commit 065c09563c872e52813a17218c52cd642be1dca6 upstream.
1wire family module autoload fails because of upper/lower
Âcase mismatch.
Signed-off-by: Ingo Flaschberger <ingo.flaschberger@xxxxxxxxx>
Acked-by: Evgeniy Polyakov <zbr@xxxxxxxxxxx>
Signed-off-by: Greg Kroah-Hartman <gregkh@xxxxxxxxxxxxxxxxxxx>
Signed-off-by: Ben Hutchings <ben@xxxxxxxxxxxxxxx>
---
drivers/w1/w1.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
--- a/drivers/w1/w1.c
+++ b/drivers/w1/w1.c
@@ -727,7 +727,7 @@ int w1_attach_slave_device(struct w1_mas
/* slave modules need to be loaded in a context with unlocked mutex */
mutex_unlock(&dev->mutex);
- request_module("w1-family-0x%02x", rn->family);
+ request_module("w1-family-0x%02X", rn->family);
mutex_lock(&dev->mutex);
spin_lock(&w1_flock);