Input: edt-ft5x06 - use managed devm_device_add_group
Commit 57b8ff07 ("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>
Showing
Please register or sign in to comment