]> git.baikalelectronics.ru Git - kernel.git/commit
Input: rohm_bu21023 - use managed devm_device_add_group
authorAndi Shyti <andi@etezian.org>
Fri, 29 Sep 2017 23:39:34 +0000 (16:39 -0700)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Fri, 29 Sep 2017 23:51:04 +0000 (16:51 -0700)
commit14c7ea74100ae4b93eb897a78b653d8dc91b9504
tree916b158fa3d2657b96ddbc7ab3413886e3ca5cb1
parent66227817f7e1f754ab583be7f666091a5e454646
Input: rohm_bu21023 - 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
action that cleans the sysfs file when exiting the driver.

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