gpio: GPIO_GET_CHIPINFO_IOCTL: Fix information leak
[cascardo/linux.git] / drivers / hwmon / w83l785ts.c
index 6384b26..ac30431 100644 (file)
@@ -188,12 +188,8 @@ static int w83l785ts_probe(struct i2c_client *client,
                return -ENOMEM;
 
        i2c_set_clientdata(client, data);
-       data->valid = 0;
        mutex_init(&data->update_lock);
 
-       /* Default values in case the first read fails (unlikely). */
-       data->temp[1] = data->temp[0] = 0;
-
        /*
         * Initialize the W83L785TS chip
         * Nothing yet, assume it is already started.