]> Pileus Git - ~andy/linux/commit
w1: slaves: w1_ds2408: convert to use w1_family_ops.groups
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 22:44:57 +0000 (15:44 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Aug 2013 18:05:42 +0000 (11:05 -0700)
commit32ea4175aea26181e2ed9a87853bb4bebd44e59e
treec0a1830af2555e982e73b76a1685932aef2fd1d5
parentb8a9f44fea2b97f34d95f983ecf5f1072632b421
w1: slaves: w1_ds2408: 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: Jean-Francois Dagenais <jeff.dagenais@gmail.com>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Alexander Stein <alexander.stein@informatik.tu-chemnitz.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/slaves/w1_ds2408.c