]> git.proxmox.com Git - mirror_ubuntu-artful-kernel.git/blobdiff - drivers/thermal/rcar_thermal.c
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
[mirror_ubuntu-artful-kernel.git] / drivers / thermal / rcar_thermal.c
index 6c73d3ecf33bba3515afed258b6572fb7cc90865..73e5fee6cf1d55ddd67729180564f06559da8b59 100644 (file)
@@ -511,6 +511,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;
                }