diff options
author | Rasmus Villemoes <linux@rasmusvillemoes.dk> | 2023-04-25 15:45:25 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2023-05-23 19:05:14 +0100 |
commit | d9032b304541e1f560349e461611f25d67f44a49 (patch) | |
tree | 2103b8f829a3c705c368037e0ebb670c78b224b2 /mm/memory.c | |
parent | b6e4686ca8c3932ed0eee66c016c05c870e44f5d (diff) | |
download | linux-stable-d9032b304541e1f560349e461611f25d67f44a49.tar.gz linux-stable-d9032b304541e1f560349e461611f25d67f44a49.tar.bz2 linux-stable-d9032b304541e1f560349e461611f25d67f44a49.zip |
spi: spi-imx: use "controller" variable consistently in spi_imx_probe()
Near the top of the function, spi_imx->controller is set to
controller (and is of course never modified again). The rest of the
function uses a mix of the two expressions.
For consistency, readability and better code generation, drop all the
spi_imx-> indirections.
Signed-off-by: Rasmus Villemoes <linux@rasmusvillemoes.dk>
Link: https://lore.kernel.org/r/20230425134527.483607-2-linux@rasmusvillemoes.dk
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'mm/memory.c')
0 files changed, 0 insertions, 0 deletions