]> git.karo-electronics.de Git - karo-tx-linux.git/commit
thermal: rcar: tidyup registration failure case
authorKuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Tue, 26 Mar 2013 06:08:10 +0000 (06:08 +0000)
committerZhang Rui <rui.zhang@intel.com>
Tue, 2 Apr 2013 13:15:04 +0000 (21:15 +0800)
commit1dc20828e674a781635286072bae909dc4e5c377
treefc262fcb5e6fa3a8ef1902e7b582065c12f8b643
parentfa0d654c84c7705d90a2492b4611e1da7ccdf69c
thermal: rcar: tidyup registration failure case

Current rcar_thermal driver didn't care about rcar_theraml_irq_disable()
when registration failure case on _probe(), and _remove().
And, it returns without unregistering thermal zone when
registration failure case on _probe().
This patch fixes these issue.

Signed-off-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Zhang Rui <rui.zhang@intel.com>
drivers/thermal/rcar_thermal.c