610
610
struct sht15_data *data = platform_get_drvdata(pdev);
612
612
/* Make sure any reads from the device are done and
614
614
mutex_lock(&data->read_lock);
615
615
hwmon_device_unregister(data->hwmon_dev);
616
616
sysfs_remove_group(&pdev->dev.kobj, &sht15_attr_group);