summaryrefslogtreecommitdiff
path: root/drivers/w1
diff options
context:
space:
mode:
authorIngo Flaschberger <ingo.flaschberger@gmail.com>2018-05-01 17:10:33 +0300
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-05-14 17:33:18 +0300
commit065c09563c872e52813a17218c52cd642be1dca6 (patch)
treeae81e598f6dd94e8cd1a919859c15f9ac93b63c7 /drivers/w1
parent955bc61328dc0a297fb3baccd84e9d3aee501ed8 (diff)
downloadlinux-065c09563c872e52813a17218c52cd642be1dca6.tar.xz
1wire: family module autoload fails because of upper/lower case mismatch.
1wire family module autoload fails because of upper/lower  case mismatch. Signed-off-by: Ingo Flaschberger <ingo.flaschberger@gmail.com> Acked-by: Evgeniy Polyakov <zbr@ioremap.net> Cc: stable <stable@vger.kernel.org> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/w1')
-rw-r--r--drivers/w1/w1.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c
index 80a778b02f28..caef0e0fd817 100644
--- a/drivers/w1/w1.c
+++ b/drivers/w1/w1.c
@@ -751,7 +751,7 @@ int w1_attach_slave_device(struct w1_master *dev, struct w1_reg_num *rn)
/* 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);