diff options
| author | Andi Shyti <[email protected]> | 2017-09-29 16:37:33 -0700 |
|---|---|---|
| committer | Dmitry Torokhov <[email protected]> | 2017-09-29 16:51:02 -0700 |
| commit | 8db69a9a5d4680f1f868d48499375cce1ef80201 (patch) | |
| tree | 9d08d468d86fa3b17c07763293408f2de2fad5a7 /lib/mpi/mpi-pow.c | |
| parent | a4b0a58bb1420757593978cdb213dab022403a3e (diff) | |
Input: elants_i2c - use managed devm_device_add_group
Commit 57b8ff070f98 ("driver core: add devm_device_add_group() and
friends") has added the managed version for creating sysfs group files.
Use devm_device_add_group instead of sysfs_create_group and remove the
action that cleans the sysfs file when exiting the driver.
Signed-off-by: Andi Shyti <[email protected]>
Signed-off-by: Dmitry Torokhov <[email protected]>
Diffstat (limited to 'lib/mpi/mpi-pow.c')
0 files changed, 0 insertions, 0 deletions