]> git.ipfire.org Git - thirdparty/linux.git/commit
spi: axiado: clean up probe return value
authorJohan Hovold <johan@kernel.org>
Tue, 21 Apr 2026 14:39:25 +0000 (16:39 +0200)
committerMark Brown <broonie@kernel.org>
Wed, 22 Apr 2026 14:05:53 +0000 (15:05 +0100)
commit2b20e674244248cdd3e33eee34eebd7408ff134f
treee0af21ce87e4d61511496da040b77182bb3492b9
parent821f0951b20880bd5976f73e202c2fa637c812f6
spi: axiado: clean up probe return value

Drop the redundant initialisation and return explicit zero on successful
probe to make the code more readable.

Signed-off-by: Johan Hovold <johan@kernel.org>
Link: https://patch.msgid.link/20260421143925.1551781-4-johan@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-axiado.c