|
@@ -514,7 +514,6 @@ static int ntc_thermistor_remove(struct platform_device *pdev)
|
|
hwmon_device_unregister(data->hwmon_dev);
|
|
hwmon_device_unregister(data->hwmon_dev);
|
|
sysfs_remove_group(&data->dev->kobj, &ntc_attr_group);
|
|
sysfs_remove_group(&data->dev->kobj, &ntc_attr_group);
|
|
ntc_iio_channel_release(pdata);
|
|
ntc_iio_channel_release(pdata);
|
|
- platform_set_drvdata(pdev, NULL);
|
|
|
|
|
|
|
|
return 0;
|
|
return 0;
|
|
}
|
|
}
|