]> asedeno.scripts.mit.edu Git - linux.git/commit
w1: slaves: w1_therm: convert to use w1_family_ops.groups
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 22:44:56 +0000 (15:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Aug 2013 18:05:42 +0000 (11:05 -0700)
commitb8a9f44fea2b97f34d95f983ecf5f1072632b421
tree1dfa48227bd1c471fe741abfbe974c5e3508c28b
parent36c27a655a531f16b5567066600f0ea7fcb973b4
w1: slaves: w1_therm: 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: David Stevenson <david@avoncliff.com>
Cc: Alexander Stein <alexander.stein@informatik.tu-chemnitz.de>
Cc: Michael Arndt <michael@scriptkiller.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/slaves/w1_therm.c