commit | 2a4806bf7afd37c719b10099415318a9936a3293 | [log] [tgz] |
---|---|---|
author | Eduardo Valentin <edubezval@gmail.com> | Mon Nov 07 21:08:53 2016 -0800 |
committer | Zhang Rui <rui.zhang@intel.com> | Wed Nov 23 10:06:12 2016 +0800 |
tree | 8e390c5bf314e82e5a6ad867109accf43dbc3d11 | |
parent | 4d0fe7490d7f4d61b582acbae718328284f151b9 [diff] |
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>