Commit 07c8888
mtd: spi-nor: use local variable for struct device
Use a local variable for the struct device pointers to avoid
dereferencing.
Signed-off-by: Tudor Ambarus <[email protected]>
Reviewed-by: Pratyush Yadav <[email protected]>
Signed-off-by: Pratyush Yadav <[email protected]>
Link: https://lore.kernel.org/r/[email protected]1 parent e7f4e92 commit 07c8888
1 file changed
+7
-7
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
3576 | 3576 | | |
3577 | 3577 | | |
3578 | 3578 | | |
3579 | | - | |
| 3579 | + | |
| 3580 | + | |
3580 | 3581 | | |
3581 | 3582 | | |
3582 | 3583 | | |
| |||
3586 | 3587 | | |
3587 | 3588 | | |
3588 | 3589 | | |
3589 | | - | |
| 3590 | + | |
3590 | 3591 | | |
3591 | 3592 | | |
3592 | 3593 | | |
3593 | 3594 | | |
3594 | | - | |
3595 | | - | |
| 3595 | + | |
| 3596 | + | |
3596 | 3597 | | |
3597 | 3598 | | |
3598 | 3599 | | |
| |||
3628 | 3629 | | |
3629 | 3630 | | |
3630 | 3631 | | |
3631 | | - | |
3632 | | - | |
3633 | | - | |
| 3632 | + | |
| 3633 | + | |
3634 | 3634 | | |
3635 | 3635 | | |
3636 | 3636 | | |
| |||
0 commit comments