]> git.baikalelectronics.ru Git - kernel.git/commit
w1: slaves: w1_ds2781: convert to use w1_family_ops.groups
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 22:45:05 +0000 (15:45 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Aug 2013 18:05:44 +0000 (11:05 -0700)
commit918d55a5c89dd5bf75d04ee0fd5d7bac9353aecf
treea638213c4837550e0541be269c80c39b2514e508
parent664c07985eef9a38e5ab2c457e637a5d5921cc93
w1: slaves: w1_ds2781: 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>
Cc: Andrew Morton <akpm@linux-foundation.org>
Cc: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/slaves/w1_ds2781.c