Commit a58ceb5
committed
rust: kernel: platform: Add ::while_bound_with()
Currently unused and unsafe (do not use while the device is already
locked). Executes a closure while the devices is guaranteed to be bound.
Signed-off-by: Janne Grunau <j@jannau.net>1 parent 2dbf189 commit a58ceb5
1 file changed
Lines changed: 14 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
264 | 264 | | |
265 | 265 | | |
266 | 266 | | |
| 267 | + | |
| 268 | + | |
| 269 | + | |
| 270 | + | |
| 271 | + | |
| 272 | + | |
| 273 | + | |
| 274 | + | |
| 275 | + | |
| 276 | + | |
| 277 | + | |
| 278 | + | |
| 279 | + | |
| 280 | + | |
267 | 281 | | |
268 | 282 | | |
269 | 283 | | |
| |||
0 commit comments