diff options
author | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-08-02 10:16:14 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2022-08-02 10:17:10 -0700 |
commit | 938db76cf8c8d2bd7c56aca74bef68d443e76954 (patch) | |
tree | 068d6e68153c580c0517c86ed3b6d875f602cb57 /drivers/input/evbug.c | |
parent | 7c744d00990ea999d27f306f6db5ccb61b1304b2 (diff) | |
download | linux-stable-938db76cf8c8d2bd7c56aca74bef68d443e76954.tar.gz linux-stable-938db76cf8c8d2bd7c56aca74bef68d443e76954.tar.bz2 linux-stable-938db76cf8c8d2bd7c56aca74bef68d443e76954.zip |
Input: elan_i2c - convert to use dev_groups
There is no need for a driver to individually add/create device groups,
the driver core will do it automatically for you. Convert the elan_i2c
driver to use the dev_groups pointer instead of manually calling the
driver core to create the group and have it be cleaned up later on by
the devm core.
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Link: https://lore.kernel.org/r/20220802162854.3015369-1-gregkh@linuxfoundation.org
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/evbug.c')
0 files changed, 0 insertions, 0 deletions