thermal: rcar: Make error and remove paths symmetrical with init
authorGeert Uytterhoeven <geert+renesas@glider.be>
Mon, 23 Feb 2015 15:37:25 +0000 (16:37 +0100)
committerEduardo Valentin <edubezval@gmail.com>
Tue, 24 Feb 2015 18:58:05 +0000 (14:58 -0400)
commitac71c7025ebc1ed25114b1be77dc60b7f8cb8544
tree2c6b27937a36d92ba3c71c5e4619f9a7ba0b3a9e
parent0b37a83a91e885250c68546ce7271ce722120c99
thermal: rcar: Make error and remove paths symmetrical with init

Swap interrupt disable and thermal zone unregistration in the error and
remove paths, to make them more symmetrical with the initialization
path.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Acked-by: Kuninori Morimoto <kuninori.morimoto.gx@renesas.com>
Signed-off-by: Eduardo Valentin <edubezval@gmail.com>
drivers/thermal/rcar_thermal.c