]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: tegra20-sflash: switch to managed controller allocation
authorJohan Hovold <johan@kernel.org>
Tue, 5 May 2026 07:29:05 +0000 (09:29 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 11 May 2026 00:55:51 +0000 (09:55 +0900)
commit3a14bf4f5453121cae3cbdfb6180317c5d74f424
tree385bed0b15664b6fdd3462011c4d27654c1f2a10
parent3068e7063cc42032b30e3eaef34066a86cb0aa68
spi: tegra20-sflash: switch to managed controller allocation

Switch to device managed controller allocation to simplify error
handling and to avoid having to take another reference during
deregistration.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260505072909.618363-17-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-tegra20-sflash.c