w1: slaves: w1_ds2433: convert to use w1_family_ops.groups
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 22:45:01 +0000 (15:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Aug 2013 18:05:43 +0000 (11:05 -0700)
commit38f40982e16fde872b8c11bb1cc6553cc42884b0
tree96519d5ec59c370ce763b3db4432abb08821a2bf
parentb3c6061daca33c1e97b8da675a2529fc5d49c05e
w1: slaves: w1_ds2433: convert to use w1_family_ops.groups

This moves the sysfs file creation/removal to the w1 core by using the
.groups field, saving code in the slave driver.

Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Cc: Alexander Stein <alexander.stein@informatik.tu-chemnitz.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/slaves/w1_ds2433.c