Commit dcc34ef
net: ibm: emac: manage emac_irq with devm
It's the last to go in remove. Safe to let devm handle it.
Also move request_irq to probe for clarity. It's removed in _remove not
close.
Use dev_err_probe instead of printk. Handles EPROBE_DEFER automatically.
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Reviewed-by: Andrew Lunn <andrew@lunn.ch>
Link: https://patch.msgid.link/20240912024903.6201-3-rosenp@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>1 parent b9758c4 commit dcc34ef
1 file changed
Lines changed: 11 additions & 18 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1228 | 1228 | | |
1229 | 1229 | | |
1230 | 1230 | | |
1231 | | - | |
| 1231 | + | |
1232 | 1232 | | |
1233 | 1233 | | |
1234 | 1234 | | |
1235 | | - | |
1236 | | - | |
1237 | | - | |
1238 | | - | |
1239 | | - | |
1240 | | - | |
1241 | | - | |
1242 | | - | |
1243 | 1235 | | |
1244 | 1236 | | |
1245 | 1237 | | |
| |||
1293 | 1285 | | |
1294 | 1286 | | |
1295 | 1287 | | |
1296 | | - | |
1297 | | - | |
1298 | 1288 | | |
1299 | 1289 | | |
1300 | 1290 | | |
| |||
1408 | 1398 | | |
1409 | 1399 | | |
1410 | 1400 | | |
1411 | | - | |
1412 | | - | |
1413 | 1401 | | |
1414 | 1402 | | |
1415 | 1403 | | |
| |||
3082 | 3070 | | |
3083 | 3071 | | |
3084 | 3072 | | |
| 3073 | + | |
| 3074 | + | |
| 3075 | + | |
| 3076 | + | |
| 3077 | + | |
| 3078 | + | |
| 3079 | + | |
| 3080 | + | |
| 3081 | + | |
| 3082 | + | |
3085 | 3083 | | |
3086 | 3084 | | |
3087 | 3085 | | |
| |||
3237 | 3235 | | |
3238 | 3236 | | |
3239 | 3237 | | |
3240 | | - | |
3241 | | - | |
3242 | 3238 | | |
3243 | 3239 | | |
3244 | 3240 | | |
| |||
3284 | 3280 | | |
3285 | 3281 | | |
3286 | 3282 | | |
3287 | | - | |
3288 | | - | |
3289 | | - | |
3290 | 3283 | | |
3291 | 3284 | | |
3292 | 3285 | | |
| |||
0 commit comments