clk: at91: sama7g5: fix compilation error
[linux-2.6-microblaze.git] / drivers / thermal / rcar_thermal.c
index 787710b..5c2a13b 100644 (file)
@@ -546,11 +546,11 @@ static int rcar_thermal_probe(struct platform_device *pdev)
                if (ret < 0)
                        goto error_unregister;
 
-               if (chip->use_of_thermal)
+               if (chip->use_of_thermal) {
                        priv->zone = devm_thermal_zone_of_sensor_register(
                                                dev, i, priv,
                                                &rcar_thermal_zone_of_ops);
-               else {
+               else {
                        priv->zone = thermal_zone_device_register(
                                                "rcar_thermal",
                                                1, 0, priv,