···31311. thermal sysfs driver interface functions323233331.1 thermal zone device interface3434-1.1.1 struct thermal_zone_device *thermal_zone_device_register(char *name,3434+1.1.1 struct thermal_zone_device *thermal_zone_device_register(char *type,3535 int trips, int mask, void *devdata,3636- struct thermal_zone_device_ops *ops)3636+ struct thermal_zone_device_ops *ops,3737+ const struct thermal_zone_params *tzp,3838+ int passive_delay, int polling_delay))37393840 This interface function adds a new thermal zone device (sensor) to3941 /sys/class/thermal folder as thermal_zone[0-*]. It tries to bind all the4042 thermal cooling devices registered at the same time.41434242- name: the thermal zone name.4444+ type: the thermal zone type.4345 trips: the total number of trip points this thermal zone supports.4446 mask: Bit string: If 'n'th bit is set, then trip point 'n' is writeable.4547 devdata: device private data···5957 will be fired.6058 .set_emul_temp: set the emulation temperature which helps in debugging6159 different threshold temperature points.6060+ tzp: thermal zone platform parameters.6161+ passive_delay: number of milliseconds to wait between polls when6262+ performing passive cooling.6363+ polling_delay: number of milliseconds to wait between polls when checking6464+ whether trip points have been crossed (0 for interrupt driven systems).6565+626663671.1.2 void thermal_zone_device_unregister(struct thermal_zone_device *tz)6468