Re: [PATCH 12/12] Input: wdt87xx_i2c - use managed devm_device_add_group

2017-09-29 Thread Dmitry Torokhov
On Sat, Sep 30, 2017 at 05:38:39AM +0900, Andi Shyti wrote: > Commit 57b8ff070f98 ("driver core: add devm_device_add_group() > and friends") has added the the managed version for creating > sysfs group files. > > Use devm_device_add_group instead of sysfs_create_group and > remove the relative sys

[PATCH 12/12] Input: wdt87xx_i2c - use managed devm_device_add_group

2017-09-29 Thread Andi Shyti
Commit 57b8ff070f98 ("driver core: add devm_device_add_group() and friends") has added the 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. Signed-off-by: Andi Shyti --- drivers/input/touchscr