Commit ef753fb
extcon: Use sizeof(*pointer) instead of sizeof(type)
It is preferred to use sizeof(*pointer) instead of sizeof(type).
The type of the variable can change and one needs not change
the former (unlike the latter). No functional change intended.
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Chanwoo Choi <cw00.choi@samsung.com>1 parent 7bba9e8 commit ef753fb
1 file changed
Lines changed: 5 additions & 8 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1098 | 1098 | | |
1099 | 1099 | | |
1100 | 1100 | | |
1101 | | - | |
1102 | | - | |
| 1101 | + | |
1103 | 1102 | | |
1104 | 1103 | | |
1105 | 1104 | | |
| |||
1161 | 1160 | | |
1162 | 1161 | | |
1163 | 1162 | | |
1164 | | - | |
1165 | | - | |
| 1163 | + | |
1166 | 1164 | | |
1167 | 1165 | | |
1168 | 1166 | | |
1169 | 1167 | | |
1170 | | - | |
1171 | | - | |
| 1168 | + | |
1172 | 1169 | | |
1173 | 1170 | | |
1174 | 1171 | | |
| |||
1214 | 1211 | | |
1215 | 1212 | | |
1216 | 1213 | | |
1217 | | - | |
1218 | | - | |
| 1214 | + | |
| 1215 | + | |
1219 | 1216 | | |
1220 | 1217 | | |
1221 | 1218 | | |
| |||
0 commit comments