Commit 8c05f50
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>1 parent ab3d8e1 commit 8c05f50
1 file changed
Lines changed: 4 additions & 17 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
962 | 962 | | |
963 | 963 | | |
964 | 964 | | |
965 | | - | |
966 | | - | |
967 | | - | |
| 965 | + | |
968 | 966 | | |
969 | 967 | | |
970 | 968 | | |
| |||
984 | 982 | | |
985 | 983 | | |
986 | 984 | | |
| 985 | + | |
| 986 | + | |
987 | 987 | | |
988 | 988 | | |
989 | 989 | | |
| |||
993 | 993 | | |
994 | 994 | | |
995 | 995 | | |
996 | | - | |
997 | | - | |
998 | | - | |
999 | | - | |
1000 | | - | |
1001 | | - | |
1002 | | - | |
1003 | 996 | | |
1004 | 997 | | |
1005 | | - | |
1006 | | - | |
1007 | | - | |
1008 | | - | |
1009 | 998 | | |
1010 | 999 | | |
1011 | 1000 | | |
| |||
1048 | 1037 | | |
1049 | 1038 | | |
1050 | 1039 | | |
1051 | | - | |
1052 | | - | |
| 1040 | + | |
1053 | 1041 | | |
1054 | | - | |
1055 | 1042 | | |
1056 | 1043 | | |
1057 | 1044 | | |
| |||
0 commit comments