OSDN Git Service

Input: wdt87xx_i2c - use managed devm_device_add_group
authorAndi Shyti <andi@etezian.org>
Fri, 29 Sep 2017 23:40:25 +0000 (16:40 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 29 Sep 2017 23:51:05 +0000 (16:51 -0700)
commit5f2ae04991d08b0f15e5029efff34f6723165b9a
tree30c7507d7d764c34f8a2b98f1c8d7aa05fb64445
parenta71b8b5c4afd84821becd2d3eec5f33c59aa0d23
Input: wdt87xx_i2c - 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.

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