diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-07-19 17:24:32 -0700 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2017-07-22 11:59:23 +0200 |
commit | e323b2dddc1ce7ea7f032c986c012a04d5977dc8 (patch) | |
tree | 86b6f483126bcd2e0845cbb4d2aeafe11ebdeca1 /drivers | |
parent | a7670d425b75f9e44b7d4d0aea04f4a6d5f34291 (diff) | |
download | linux-stable-e323b2dddc1ce7ea7f032c986c012a04d5977dc8.tar.gz linux-stable-e323b2dddc1ce7ea7f032c986c012a04d5977dc8.tar.bz2 linux-stable-e323b2dddc1ce7ea7f032c986c012a04d5977dc8.zip |
driver core: add device_{add|remove}_group() helpers
We have helpers that work with NULL terminated array of groups, but many
drivers only create a single supplemental group, and do not want to declare
a group array. Let's provide them with helpers working with a single group.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers')
0 files changed, 0 insertions, 0 deletions