Commit 5aa2a02
mm/slab: create sysfs attribute through default_groups
The driver core can automatically create custom type attributes.
This makes the code and error-handling shorter.
Signed-off-by: Thomas Weißschuh <[email protected]>
Reviewed-by: Harry Yoo <[email protected]>
Link: https://patch.msgid.link/[email protected]
Signed-off-by: Vlastimil Babka (SUSE) <[email protected]>1 parent 6de23f8 commit 5aa2a02
1 file changed
Lines changed: 2 additions & 10 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
9317 | 9317 | | |
9318 | 9318 | | |
9319 | 9319 | | |
9320 | | - | |
9321 | | - | |
9322 | | - | |
| 9320 | + | |
9323 | 9321 | | |
9324 | 9322 | | |
9325 | 9323 | | |
| |||
9366 | 9364 | | |
9367 | 9365 | | |
9368 | 9366 | | |
| 9367 | + | |
9369 | 9368 | | |
9370 | 9369 | | |
9371 | 9370 | | |
| |||
9453 | 9452 | | |
9454 | 9453 | | |
9455 | 9454 | | |
9456 | | - | |
9457 | | - | |
9458 | | - | |
9459 | | - | |
9460 | 9455 | | |
9461 | 9456 | | |
9462 | 9457 | | |
| |||
9465 | 9460 | | |
9466 | 9461 | | |
9467 | 9462 | | |
9468 | | - | |
9469 | | - | |
9470 | | - | |
9471 | 9463 | | |
9472 | 9464 | | |
9473 | 9465 | | |
| |||
0 commit comments