projects
/
firefly-linux-kernel-4.4.55.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
hwmon: (lm63) Avoid initializing the same field twice
[firefly-linux-kernel-4.4.55.git]
/
drivers
/
hwmon
/
lm63.c
diff --git
a/drivers/hwmon/lm63.c
b/drivers/hwmon/lm63.c
index c5291645e5dcddc52ce4db5a01c9b1fd7b2a63cf..848b9611151f9507c21c74d2de94220ab475d2e8 100644
(file)
--- a/
drivers/hwmon/lm63.c
+++ b/
drivers/hwmon/lm63.c
@@
-1121,7
+1121,6
@@
static int lm63_probe(struct i2c_client *client,
return -ENOMEM;
data->client = client;
- data->valid = 0;
mutex_init(&data->update_lock);
/* Set the device type */