diff options
author | 2024-11-11 13:19:45 +0200 | |
---|---|---|
committer | 2024-12-06 16:08:25 +0000 | |
commit | 07c888838ea34662b9fd4a2698ef24ff59f0a630 (patch) | |
tree | a90ea22bcd0c4eadf6972ff64b3ac3ddf31c9028 /scripts/generate_rust_analyzer.py | |
parent | dt-bindings: mtd: jedec,spi-nor: add optional vcc-supply (diff) | |
download | linux-rng-07c888838ea34662b9fd4a2698ef24ff59f0a630.tar.xz linux-rng-07c888838ea34662b9fd4a2698ef24ff59f0a630.zip |
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.org
Diffstat (limited to 'scripts/generate_rust_analyzer.py')
0 files changed, 0 insertions, 0 deletions