]> asedeno.scripts.mit.edu Git - linux.git/commit
Input: melfas_mip4 - use managed devm_device_add_group
authorAndi Shyti <andi@etezian.org>
Fri, 29 Sep 2017 23:38:23 +0000 (16:38 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 29 Sep 2017 23:51:03 +0000 (16:51 -0700)
commit4c16f82e23654438ac33bab746320e8dcc069501
treee8ee31188ef703f98ee207c6a9a0d2a0cf016c51
parent8db69a9a5d4680f1f868d48499375cce1ef80201
Input: melfas_mip4 - 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 <andi@etezian.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/melfas_mip4.c