Home
last modified time | relevance | path

Searched hist:"32 fa5ba3171116a5501e60245dc97e82fe3cf267" (Results 1 – 2 of 2) sorted by relevance

/openbmc/linux/drivers/thermal/
H A Dthermal_sysfs.cdiff 32fa5ba3171116a5501e60245dc97e82fe3cf267 Tue Aug 08 09:39:52 CDT 2017 Christophe Jaillet <christophe.jaillet@wanadoo.fr> thermal: core: Add some new helper functions to free resources

In order to easily free resources allocated by
'thermal_zone_create_device_groups()' we need 2 new helper functions.

The first one undoes 'thermal_zone_create_device_groups()'.
The 2nd one undoes 'create_trip_attrs()', which is a function called by
'thermal_zone_create_device_groups()'.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
H A Dthermal_core.hdiff 32fa5ba3171116a5501e60245dc97e82fe3cf267 Tue Aug 08 09:39:52 CDT 2017 Christophe Jaillet <christophe.jaillet@wanadoo.fr> thermal: core: Add some new helper functions to free resources

In order to easily free resources allocated by
'thermal_zone_create_device_groups()' we need 2 new helper functions.

The first one undoes 'thermal_zone_create_device_groups()'.
The 2nd one undoes 'create_trip_attrs()', which is a function called by
'thermal_zone_create_device_groups()'.

Signed-off-by: Christophe JAILLET <christophe.jaillet@wanadoo.fr>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>