[PATCH] w1: new family structure.
Removed some fields which are not required. First step for writing operations. Now only read and read name remain. Patch depends on w1 cleanups patch. Signed-off-by: Evgeniy Polyakov <johnpol@2ka.mipt.ru> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
This commit is contained in:
committed by
Greg Kroah-Hartman
parent
7785925dd8
commit
ca775c629a
@@ -30,7 +30,7 @@ static LIST_HEAD(w1_families);
|
||||
|
||||
static int w1_check_family(struct w1_family *f)
|
||||
{
|
||||
if (!f->fops->rname || !f->fops->rbin || !f->fops->rval || !f->fops->rvalname)
|
||||
if (!f->fops->rname || !f->fops->rbin)
|
||||
return -EINVAL;
|
||||
|
||||
return 0;
|
||||
|
Reference in New Issue
Block a user