w1: add attribute groups to struct w1_family_ops
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 22:44:55 +0000 (15:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Aug 2013 18:05:42 +0000 (11:05 -0700)
commit36c27a655a531f16b5567066600f0ea7fcb973b4
tree70ba9e1c4ca5c0b02fb9ab94f3fa54fdca040ccb
parent5b187b3c0edf9aae6ebbad61b9fbb4ec1795e18b
w1: add attribute groups to struct w1_family_ops

This lets w1 slave drivers declare an attribute group, and not have to
create/destroy sysfs files directly.  All w1 slave drivers will be fixed
to use this field up in follow-on patches to this one.

Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/w1.c
drivers/w1/w1_family.h