diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-07-10 22:03:29 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2024-07-12 17:15:29 -0700 |
commit | 2d7877d797aaa16b18ac156ed87fa0f23b9907c8 (patch) | |
tree | c01dfec7e377d624e4f98011ea89cf6aa447dded /drivers/pci/controller/dwc/pcie-qcom-ep.c | |
parent | a122a6fd72d64de1e2f7521046823e25cb269f06 (diff) |
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 'drivers/pci/controller/dwc/pcie-qcom-ep.c')
0 files changed, 0 insertions, 0 deletions