Home
last modified time | relevance | path

Searched refs:thermal_prop (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/thermal/intel/int340x_thermal/
H A Dint3400_thermal.c442 char *thermal_prop[5]; in int3400_notify() local
466 thermal_prop[0] = kasprintf(GFP_KERNEL, "NAME=%s", thermal_zone_device_type(priv->thermal)); in int3400_notify()
467 thermal_prop[1] = kasprintf(GFP_KERNEL, "TEMP=%d", INT3400_FAKE_TEMP); in int3400_notify()
468 thermal_prop[2] = kasprintf(GFP_KERNEL, "TRIP="); in int3400_notify()
469 thermal_prop[3] = kasprintf(GFP_KERNEL, "EVENT=%d", therm_event); in int3400_notify()
470 thermal_prop[4] = NULL; in int3400_notify()
471 kobject_uevent_env(&dev->kobj, KOBJ_CHANGE, thermal_prop); in int3400_notify()
472 kfree(thermal_prop[0]); in int3400_notify()
473 kfree(thermal_prop[1]); in int3400_notify()
474 kfree(thermal_prop[2]); in int3400_notify()
[all …]