]> git.karo-electronics.de Git - linux-beck.git/commit
thermal: core: move idr handling to device management section
authorEduardo Valentin <edubezval@gmail.com>
Tue, 8 Nov 2016 05:09:06 +0000 (21:09 -0800)
committerZhang Rui <rui.zhang@intel.com>
Wed, 23 Nov 2016 02:06:12 +0000 (10:06 +0800)
commitc30176fc6f483163affeb0f629c0e27b23c084a1
tree966f8f52dd1a7cb93865fe300f9433bfe77219b2
parent1b4f48494eb2886d42b034b57f0c4005add296b0
thermal: core: move idr handling to device management section

Given that idr is only used to get id for thermal devices
(zones and cooling), makes sense to move the code closer.

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