]> git.baikalelectronics.ru Git - kernel.git/commit
driver core: make device_{add|remove}_groups() public
authorDmitry Torokhov <dmitry.torokhov@gmail.com>
Thu, 20 Jul 2017 00:24:31 +0000 (17:24 -0700)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 22 Jul 2017 09:59:23 +0000 (11:59 +0200)
commit5e1062d2da7d7c1daf8b6a5ef7a1f2369cd0f4eb
treedc9ebc90e421d03e3d0ae03134f3aa9b1fc94442
parent6cb4ce405307c86e3f673b53c4b357a3a1daf2c9
driver core: make device_{add|remove}_groups() public

Many drivers create additional driver-specific device attributes when
binding to the device. To avoid them calling SYSFS API directly, let's
export these helpers.

Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/base/base.h
drivers/base/core.c
include/linux/device.h