]> git.baikalelectronics.ru Git - kernel.git/commit
driver core: add dev_groups to all drivers
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Wed, 31 Jul 2019 12:43:40 +0000 (14:43 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 2 Aug 2019 10:37:53 +0000 (12:37 +0200)
commit88cf88ada7c862b4255ae16a8f151ac70c84d4d6
treef3c71b34f37aed14893b32fe783d098255f20b03
parent8ae2f793d21f67d4ab95029bb6873efffa36907b
driver core: add dev_groups to all drivers

Add the ability for the driver core to create and remove a list of
attribute groups automatically when the device is bound/unbound from a
specific driver.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Tested-by: Richard Gong <richard.gong@linux.intel.com>
Link: https://lore.kernel.org/r/20190731124349.4474-2-gregkh@linuxfoundation.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/dd.c
include/linux/device.h