thermal: core: Use the new 'thermal_zone_destroy_device_groups()' helper function
authorChristophe Jaillet <christophe.jaillet@wanadoo.fr>
Tue, 8 Aug 2017 14:39:53 +0000 (16:39 +0200)
committerZhang Rui <rui.zhang@intel.com>
Fri, 11 Aug 2017 03:34:00 +0000 (11:34 +0800)
commit6a6cd25b58dc8ce2fbded8dd83bfa7d48f06f97d
treee227dd85bc298c807e956540a1d468f9c3bfaf0d
parent32fa5ba3171116a5501e60245dc97e82fe3cf267
thermal: core: Use the new 'thermal_zone_destroy_device_groups()' helper function

Simplify code by using the new 'thermal_zone_destroy_device_groups()'
helper function.

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