Commit f657a68
committed
firewire: core: use from_work() macro to expand parent structure of work_struct
A commit 60b2ebf ("workqueue: Introduce from_work() helper for cleaner
callback declarations") introduces a new macro to retrieve a poiner for the
parent structure of the work item. It is convenient to reduce input text.
This commit uses the macro in core functionalities.
Link: https://lore.kernel.org/r/20250608233808.202355-3-o-takashi@sakamocchi.jp
Signed-off-by: Takashi Sakamoto <o-takashi@sakamocchi.jp>1 parent 8ffef79 commit f657a68
3 files changed
Lines changed: 8 additions & 14 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
237 | 237 | | |
238 | 238 | | |
239 | 239 | | |
240 | | - | |
| 240 | + | |
241 | 241 | | |
242 | 242 | | |
243 | 243 | | |
| |||
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
289 | | - | |
| 289 | + | |
290 | 290 | | |
291 | 291 | | |
292 | 292 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1313 | 1313 | | |
1314 | 1314 | | |
1315 | 1315 | | |
1316 | | - | |
1317 | | - | |
| 1316 | + | |
1318 | 1317 | | |
1319 | 1318 | | |
1320 | 1319 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
853 | 853 | | |
854 | 854 | | |
855 | 855 | | |
856 | | - | |
857 | | - | |
| 856 | + | |
858 | 857 | | |
859 | 858 | | |
860 | 859 | | |
| |||
921 | 920 | | |
922 | 921 | | |
923 | 922 | | |
924 | | - | |
925 | | - | |
| 923 | + | |
926 | 924 | | |
927 | 925 | | |
928 | 926 | | |
| |||
1002 | 1000 | | |
1003 | 1001 | | |
1004 | 1002 | | |
1005 | | - | |
1006 | | - | |
| 1003 | + | |
1007 | 1004 | | |
1008 | 1005 | | |
1009 | 1006 | | |
| |||
1184 | 1181 | | |
1185 | 1182 | | |
1186 | 1183 | | |
1187 | | - | |
1188 | | - | |
| 1184 | + | |
1189 | 1185 | | |
1190 | 1186 | | |
1191 | 1187 | | |
| |||
1251 | 1247 | | |
1252 | 1248 | | |
1253 | 1249 | | |
1254 | | - | |
1255 | | - | |
| 1250 | + | |
1256 | 1251 | | |
1257 | 1252 | | |
1258 | 1253 | | |
| |||
0 commit comments