thermal: core: remove unnecessary device_remove() calls
authorEduardo Valentin <edubezval@gmail.com>
Tue, 8 Nov 2016 05:08:53 +0000 (21:08 -0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 23 Nov 2016 02:06:12 +0000 (10:06 +0800)
commit2a4806bf7afd37c719b10099415318a9936a3293
tree8e390c5bf314e82e5a6ad867109accf43dbc3d11
parent4d0fe7490d7f4d61b582acbae718328284f151b9
thermal: core: remove unnecessary device_remove() calls

Given that cdevs sysfs properties are already registered using
the dev.groups, there is no need to explicitly call device_remove()
for each property.

Cc: Zhang Rui <rui.zhang@intel.com>
Cc: linux-pm@vger.kernel.org
Cc: linux-kernel@vger.kernel.org
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/thermal_core.c