X-Git-Url: http://demsky.eecs.uci.edu/git/?a=blobdiff_plain;f=drivers%2Fhwmon%2Fw83l785ts.c;h=ac30431220115d9f5efff73288f4bb3baa1d5cf9;hb=04527fdafe2e12ad2d89bfd0f0bb7fe481687976;hp=6384b268f59008406a3cd2789fd851978e35acd7;hpb=ecd740c6f2f092b90b95fa35f757973589eaaca2;p=firefly-linux-kernel-4.4.55.git diff --git a/drivers/hwmon/w83l785ts.c b/drivers/hwmon/w83l785ts.c index 6384b268f590..ac3043122011 100644 --- a/drivers/hwmon/w83l785ts.c +++ b/drivers/hwmon/w83l785ts.c @@ -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.