]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbf0305c28c502c8609fa6d31f7df75fe477988d3
tree8e390c5bf314e82e5a6ad867109accf43dbc3d11
parentfde2efc1e4891d651c1287c102391ed26ebf7eec
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