diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-07-11 08:03:29 +0300 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-07-13 03:15:29 +0300 |
commit | 2d7877d797aaa16b18ac156ed87fa0f23b9907c8 (patch) | |
tree | c01dfec7e377d624e4f98011ea89cf6aa447dded /security/landlock | |
parent | a122a6fd72d64de1e2f7521046823e25cb269f06 (diff) | |
download | linux-2d7877d797aaa16b18ac156ed87fa0f23b9907c8.tar.xz |
Input: omap-keypad - use driver core to instantiate device attributes
Instead of manually creating driver-specific device attributes
set struct driver->dev_groups pointer to have the driver core
do it.
This also fixes issue with the attribute not being deleted on driver
unbind.
Reviewed-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/Zo9nofWJ1xg9MgKs@google.com
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'security/landlock')
0 files changed, 0 insertions, 0 deletions