mmc: sdhci-pltfm: Use of_property_read_u32 instead of open-coding it
[cascardo/linux.git] / drivers / hwmon / tmp102.c
index 9da2735..6548262 100644 (file)
@@ -98,7 +98,7 @@ static struct tmp102 *tmp102_update_device(struct device *dev)
        return tmp102;
 }
 
-static int tmp102_read_temp(void *dev, long *temp)
+static int tmp102_read_temp(void *dev, int *temp)
 {
        struct tmp102 *tmp102 = tmp102_update_device(dev);