Searched refs:thermal_class (Results 1 – 1 of 1) sorted by relevance
779 static struct class *thermal_class; variable882 if (!thermal_class) in __thermal_cooling_device_register()906 cdev->device.class = thermal_class; in __thermal_cooling_device_register()1258 if (!thermal_class) in thermal_zone_device_register_with_trips()1282 tz->device.class = thermal_class; in thermal_zone_device_register_with_trips()1527 thermal_class = kzalloc(sizeof(*thermal_class), GFP_KERNEL); in thermal_init()1528 if (!thermal_class) { in thermal_init()1533 thermal_class->name = "thermal"; in thermal_init()1536 result = class_register(thermal_class); in thermal_init()1538 kfree(thermal_class); in thermal_init()[all …]
Completed in 5 milliseconds