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)
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>

No differences found