]> git.kernelconcepts.de Git - karo-tx-linux.git/blobdiff - drivers/thermal/st/st_thermal.c
Merge branch 'next' of git://git.kernel.org/pub/scm/linux/kernel/git/rzhang/linux
[karo-tx-linux.git] / drivers / thermal / st / st_thermal.c
index 44cbba99716a83ebdb7381f33b2b5c57614c0694..be637e6b01d217f9ab54929fbb93322fb5ca086a 100644 (file)
@@ -213,7 +213,7 @@ int st_thermal_register(struct platform_device *pdev,
 
        sensor->ops = sensor->cdata->ops;
 
-       ret = sensor->ops->regmap_init(sensor);
+       ret = (sensor->ops->regmap_init)(sensor);
        if (ret)
                return ret;