Commit 1b8f587
committed
gpio: pl061: fix new clippy error
Without this fix, we get the following new clippy error:
```
error: deref which would be done by auto-deref
--> drivers/gpio/gpio_pl061_rust.rs:285:75
|
285 | let gen_inner = unsafe { data.as_mut().map_unchecked_mut(|d| &mut (**d).inner) };
| ^^^^^ help: try this: `d`
|
```
Signed-off-by: Wedson Almeida Filho <walmeida@microsoft.com>1 parent 3dfc5eb commit 1b8f587
1 file changed
+1
-1
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
282 | 282 | | |
283 | 283 | | |
284 | 284 | | |
285 | | - | |
| 285 | + | |
286 | 286 | | |
287 | 287 | | |
288 | 288 | | |
| |||
0 commit comments