]> git.karo-electronics.de Git - karo-tx-linux.git/commit
Thermal: Fix bug on cpu_cooling, cooling device's id conflict problem.
authorJonghwa Lee <jonghwa3.lee@samsung.com>
Wed, 26 Sep 2012 00:43:31 +0000 (09:43 +0900)
committerZhang Rui <rui.zhang@intel.com>
Wed, 26 Sep 2012 01:11:32 +0000 (09:11 +0800)
commit5d8d7080e52419eb7119c8388acdaef0b68ab9ef
tree16860b15afd4d5e0f6714d99879ee2fcab26617b
parentcf68bdc1353572bce029300272451034a69745c9
Thermal: Fix bug on cpu_cooling, cooling device's id conflict problem.

This patch fixes small bug on cpu_cooling. CPU cooling device has own
id generated with idr mathod. However in the previous version, it swapped
to all same id at last stage of probing as 0. This makes id's collision and
also occures error when it releases that id.

Signed-off-by: Jonghwa Lee <jonghwa3.lee@samsung.com>
drivers/thermal/cpu_cooling.c