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 <tudor.ambarus@linaro.org>
Reviewed-by: Pratyush Yadav <pratyush@kernel.org>
Signed-off-by: Pratyush Yadav <pratyush@kernel.org>
Link: https://lore.kernel.org/r/20241111111946.9048-2-tudor.ambarus@linaro.org1 parent e7f4e92 commit 07c8888
1 file changed
Lines changed: 7 additions & 7 deletions
| 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