device_remove_file(&of_dev->dev, &dev_attr_cpu_temperature); device_remove_file(&of_dev->dev, &dev_attr_gpu_temperature); device_remove_file(&of_dev->dev, &dev_attr_cpu_limit); device_remove_file(&of_dev->dev, &dev_attr_gpu_limit); 
device_remove_file(&of_dev->dev, &dev_attr_sensor1_temperature); device_remove_file(&of_dev->dev, &dev_attr_sensor2_temperature); device_remove_file(&of_dev->dev, &dev_attr_sensor1_limit); device_remove_file(&of_dev->dev, &dev_attr_sensor2_limit); device_remove_file(&of_dev->dev, &dev_attr_sensor1_location); device_remove_file(&of_dev->dev, &dev_attr_sensor2_location); 
thermostat_exit(void){	if (of_dev) {		device_remove_file(&of_dev->dev, &dev_attr_cpu_temperature);		device_remove_file(&of_dev->dev, &dev_attr_gpu_temperature);		device_remove_file(&of_dev->dev, &dev_attr_cpu_limit);		device_remove_file(&of_dev->dev, &dev_attr_gpu_limit);		device_remove_file(&of_dev->dev, &dev_attr_limit_adjust);		device_remove_file(&of_dev->dev, &dev_attr_specified_fan_speed);		device_remove_file(&of_dev->dev, &dev_attr_cpu_fan_speed);		if(therm_type == ADT7460)			device_remove_file(&of_dev->dev,					   &dev_attr_gpu_fan_speed);		of_device_unregister(of_dev);	}	i2c_del_driver(&thermostat_driver);}
10457	/local/tlutelli/issta_data/temp/c/2005_temp/2005/10457/d20c507f28dbee33086e8212b98f9ddc5372cd81/therm_adt746x.c/clean/drivers/macintosh/therm_adt746x.c