diff options
Diffstat (limited to 'drivers/w1/w1.c')
-rw-r--r-- | drivers/w1/w1.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/w1.c b/drivers/w1/w1.c index 592f7edc671e..181f41cb960b 100644 --- a/drivers/w1/w1.c +++ b/drivers/w1/w1.c | |||
@@ -727,7 +727,7 @@ int w1_attach_slave_device(struct w1_master *dev, struct w1_reg_num *rn) | |||
727 | 727 | ||
728 | /* slave modules need to be loaded in a context with unlocked mutex */ | 728 | /* slave modules need to be loaded in a context with unlocked mutex */ |
729 | mutex_unlock(&dev->mutex); | 729 | mutex_unlock(&dev->mutex); |
730 | request_module("w1-family-0x%0x", rn->family); | 730 | request_module("w1-family-0x%02x", rn->family); |
731 | mutex_lock(&dev->mutex); | 731 | mutex_lock(&dev->mutex); |
732 | 732 | ||
733 | spin_lock(&w1_flock); | 733 | spin_lock(&w1_flock); |