diff options
| author | Andi Shyti <andi@etezian.org> | 2017-09-30 02:39:34 +0300 |
|---|---|---|
| committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-09-30 02:51:04 +0300 |
| commit | a71b8b5c4afd84821becd2d3eec5f33c59aa0d23 (patch) | |
| tree | 916b158fa3d2657b96ddbc7ab3413886e3ca5cb1 /scripts/const_structs.checkpatch | |
| parent | b887df52f83e6739a9fcf5490d075e2beed441bb (diff) | |
| download | linux-a71b8b5c4afd84821becd2d3eec5f33c59aa0d23.tar.xz | |
Input: rohm_bu21023 - 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
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>
Diffstat (limited to 'scripts/const_structs.checkpatch')
0 files changed, 0 insertions, 0 deletions
