]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
spi: npcm-pspi: switch to managed controller allocation
authorJohan Hovold <johan@kernel.org>
Wed, 29 Apr 2026 09:13:31 +0000 (11:13 +0200)
committerMark Brown <broonie@kernel.org>
Mon, 4 May 2026 13:09:31 +0000 (22:09 +0900)
commitc0c6875f0b7de6094f15ffd5b1dcebb3cebe53e1
tree06556086ddaf811bc0782493565988f8a5c11eea
parentf7c857559eb20a73d2ec6fe79808cdb1f4afabfa
spi: npcm-pspi: 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/20260429091333.165363-18-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-npcm-pspi.c