diff options
author | Christophe Jaillet <[email protected]> | 2017-08-08 16:39:52 +0200 |
---|---|---|
committer | Zhang Rui <[email protected]> | 2017-08-11 11:33:49 +0800 |
commit | 32fa5ba3171116a5501e60245dc97e82fe3cf267 (patch) | |
tree | d5d3cae080986bd116c9497b5d80f0cdca8fd452 /lib/memory-notifier-error-inject.c | |
parent | 039f6cf5b5566b92fae8d31924b1d59365798abb (diff) |
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 <[email protected]>
Signed-off-by: Zhang Rui <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions