Input: edt-ft5x06 - use managed devm_device_add_group
authorAndi Shyti <andi@etezian.org>
Fri, 29 Sep 2017 23:42:06 +0000 (16:42 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 29 Sep 2017 23:51:06 +0000 (16:51 -0700)
commite3adf559a33bb0291c5ba7c2d0c02ae438da5c19
tree62b8fb16b4b39fe97eb8053671911d86447b9a6e
parent5f2ae04991d08b0f15e5029efff34f6723165b9a
Input: edt-ft5x06 - 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
relative sysfs_remove_group and goto label.

Signed-off-by: Andi Shyti <andi@etezian.org>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
drivers/input/touchscreen/edt-ft5x06.c