w1: use default attribute groups for w1 slave devices
authorGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 21 Aug 2013 20:24:33 +0000 (13:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 22 Aug 2013 17:55:04 +0000 (10:55 -0700)
commit5b187b3c0edf9aae6ebbad61b9fbb4ec1795e18b
tree5cb4c7e491aa31b91524125d29f27cc89a38d659
parent47eba33a0997fc7362ae41cf28cea687e28bd731
w1: use default attribute groups for w1 slave devices

As we have 2 sysfs files for the w1 slave devices, let the driver core
create / destroy them automatically by setting the default attribute
group for them, saving code and housekeeping logic.

Acked-by: Evgeniy Polyakov <zbr@ioremap.net>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/w1/w1.c
This page took 0.02601 seconds and 5 git commands to generate.