]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit516d12c3b16d09e87b59188640dcc2550cea4aa3
tree30c7507d7d764c34f8a2b98f1c8d7aa05fb64445
parent14c7ea74100ae4b93eb897a78b653d8dc91b9504
Input: wdt87xx_i2c - 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.

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