]> git.karo-electronics.de Git - linux-beck.git/commit
thermal: core: group device_create_file() calls that are always created
authorEduardo Valentin <edubezval@gmail.com>
Tue, 8 Nov 2016 05:08:41 +0000 (21:08 -0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 23 Nov 2016 02:06:12 +0000 (10:06 +0800)
commit308f726ac872bee72ab0fccb0ef6a75364e47496
treebe3f0dd9426de79b4399fe9b660e014e985724fd
parentef1d8bff72e15854fd7db9b56d807fcad36e16d9
thermal: core: group device_create_file() calls that are always created

Simple code reorganization to group files that are always created
when registering a thermal zone.

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