commit | 8c05f50fe8452f9d3220efad77bef42c7b498193 | [log] [tgz] |
---|---|---|
author | Sudeep Holla <sudeep.holla@arm.com> | Tue Sep 01 11:33:35 2020 +0100 |
committer | Jens Wiklander <jens.wiklander@linaro.org> | Fri Sep 18 10:44:45 2020 +0200 |
tree | 7adb2df26c08b39293d3872017d6d62813dbaf90 | |
parent | ab3d8e1baaee4b167cc99120f640ee4de6d05d50 [diff] |
tee: avoid explicit sysfs_create/delete_group by initialising dev->groups If the dev->groups is initialised, the sysfs group is created as part of device_add call. There is no need to call sysfs_create/delete_group explicitly. Signed-off-by: Sudeep Holla <sudeep.holla@arm.com> Signed-off-by: Jens Wiklander <jens.wiklander@linaro.org>