checkpatch: prefer strscpy to strlcpy
[linux-2.6-microblaze.git] / drivers / hwmon / scmi-hwmon.c
index 09ce30c..17d064e 100644 (file)
@@ -30,7 +30,7 @@ static inline u64 __pow10(u8 x)
 
 static int scmi_hwmon_scale(const struct scmi_sensor_info *sensor, u64 *value)
 {
-       s8 scale = sensor->scale;
+       int scale = sensor->scale;
        u64 f;
 
        switch (sensor->type) {