]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit44a180bd3556aed7648544f969a3a9f81a0f20aa
tree5cb4c7e491aa31b91524125d29f27cc89a38d659
parenta6c12f3b0116d60bf2f176e6146ec74b78b47aee
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