diff options
Diffstat (limited to 'drivers/w1/w1_family.c')
-rw-r--r-- | drivers/w1/w1_family.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/w1/w1_family.c b/drivers/w1/w1_family.c index 3941fb05b8e1..b8502d910c50 100644 --- a/drivers/w1/w1_family.c +++ b/drivers/w1/w1_family.c | |||
@@ -30,7 +30,7 @@ static LIST_HEAD(w1_families); | |||
30 | 30 | ||
31 | static int w1_check_family(struct w1_family *f) | 31 | static int w1_check_family(struct w1_family *f) |
32 | { | 32 | { |
33 | if (!f->fops->rname || !f->fops->rbin || !f->fops->rval || !f->fops->rvalname) | 33 | if (!f->fops->rname || !f->fops->rbin) |
34 | return -EINVAL; | 34 | return -EINVAL; |
35 | 35 | ||
36 | return 0; | 36 | return 0; |