thermal: core: move bind_cdev() to where it is used
authorEduardo Valentin <edubezval@gmail.com>
Tue, 8 Nov 2016 05:09:09 +0000 (21:09 -0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 23 Nov 2016 02:06:12 +0000 (10:06 +0800)
commit949aad839c33fc6aaace5b063a331a711876d499
treed3c9db9bfb173610cde4f98e726b3c0ab9d94b58
parentf11997fa24220c91f8e951ebd047d69f47ab6759
thermal: core: move bind_cdev() to where it is used

Moving the helper to closer where it is used.

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