You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
rust/kernel/platdev: get rid of register() private function
`register()` serves no purpose, except to complicate `Registration`
construction. It's a copy-and-paste leftover from miscdev.
Eliminate this function to get the following benefits:
- `bool registered` disappears, which simplifies logic flow
- an `unsafe` block disappears
Signed-off-by: Sven Van Asbroeck <[email protected]>
0 commit comments