summaryrefslogtreecommitdiffstats
path: root/drivers/thermal/rcar_thermal.c
diff options
context:
space:
mode:
authorIngo Molnar <mingo@kernel.org>2016-09-20 16:58:59 +0200
committerIngo Molnar <mingo@kernel.org>2016-09-20 16:58:59 +0200
commit41a66072c32978ff3914fd6be88f7592ef64bef7 (patch)
tree0f38ef433f0feea3e58f61f8d5397cd9bf065559 /drivers/thermal/rcar_thermal.c
parent5465fe0fc3316f7cdda66732a7986f4ebe76d949 (diff)
parent7597cdc066313bfd211cca2f9252dfeb41271391 (diff)
downloadlinux-41a66072c32978ff3914fd6be88f7592ef64bef7.tar.gz
linux-41a66072c32978ff3914fd6be88f7592ef64bef7.tar.bz2
linux-41a66072c32978ff3914fd6be88f7592ef64bef7.zip
Merge branch 'efi/urgent' into efi/core, to pick up fixes
Signed-off-by: Ingo Molnar <mingo@kernel.org>
Diffstat (limited to 'drivers/thermal/rcar_thermal.c')
-rw-r--r--drivers/thermal/rcar_thermal.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/drivers/thermal/rcar_thermal.c b/drivers/thermal/rcar_thermal.c
index 71a339271fa5..5f817923f374 100644
--- a/drivers/thermal/rcar_thermal.c
+++ b/drivers/thermal/rcar_thermal.c
@@ -504,6 +504,7 @@ static int rcar_thermal_probe(struct platform_device *pdev)
if (IS_ERR(priv->zone)) {
dev_err(dev, "can't register thermal zone\n");
ret = PTR_ERR(priv->zone);
+ priv->zone = NULL;
goto error_unregister;
}