]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit283b63905038ec51b43d0f24736a531e89e45b09
tree62b8fb16b4b39fe97eb8053671911d86447b9a6e
parent516d12c3b16d09e87b59188640dcc2550cea4aa3
Input: edt-ft5x06 - use managed devm_device_add_group

Commit 3eff42b82d32 ("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