w1: slaves: w1_ds2413.c: convert to use w1_family_ops.groups
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 22:44:58 +0000 (15:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Aug 2013 18:05:43 +0000 (11:05 -0700)
commit729fb9d33fe239e350a7e33e9f6aec2767086bd4
tree279db34b83c7e79ffd9445f628349b3695a86b29
parent32ea4175aea26181e2ed9a87853bb4bebd44e59e
w1: slaves: w1_ds2413.c: 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: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexander Stein <alexander.stein@informatik.tu-chemnitz.de>
Cc: Mariusz Bialonczyk <manio@skyboo.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/slaves/w1_ds2413.c