aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon
diff options
context:
space:
mode:
Diffstat (limited to 'drivers/hwmon')
-rw-r--r--drivers/hwmon/sht15.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/hwmon/sht15.c b/drivers/hwmon/sht15.c
index a610e7880fb3..3ba7dd82589a 100644
--- a/drivers/hwmon/sht15.c
+++ b/drivers/hwmon/sht15.c
@@ -610,7 +610,7 @@ static int __devexit sht15_remove(struct platform_device *pdev)
610 struct sht15_data *data = platform_get_drvdata(pdev); 610 struct sht15_data *data = platform_get_drvdata(pdev);
611 611
612 /* Make sure any reads from the device are done and 612 /* Make sure any reads from the device are done and
613 * prevent new ones beginnning */ 613 * prevent new ones from beginning */
614 mutex_lock(&data->read_lock); 614 mutex_lock(&data->read_lock);
615 hwmon_device_unregister(data->hwmon_dev); 615 hwmon_device_unregister(data->hwmon_dev);
616 sysfs_remove_group(&pdev->dev.kobj, &sht15_attr_group); 616 sysfs_remove_group(&pdev->dev.kobj, &sht15_attr_group);