|
@@ -1837,10 +1837,10 @@ static int __init thermal_init(void)
|
|
|
|
|
|
exit_netlink:
|
|
exit_netlink:
|
|
genetlink_exit();
|
|
genetlink_exit();
|
|
-unregister_governors:
|
|
|
|
- thermal_unregister_governors();
|
|
|
|
unregister_class:
|
|
unregister_class:
|
|
class_unregister(&thermal_class);
|
|
class_unregister(&thermal_class);
|
|
|
|
+unregister_governors:
|
|
|
|
+ thermal_unregister_governors();
|
|
error:
|
|
error:
|
|
idr_destroy(&thermal_tz_idr);
|
|
idr_destroy(&thermal_tz_idr);
|
|
idr_destroy(&thermal_cdev_idr);
|
|
idr_destroy(&thermal_cdev_idr);
|