spi: bcmbca-hsspi: Fix error code in probe() function
authorDan Carpenter <error27@gmail.com>
Wed, 15 Feb 2023 14:05:32 +0000 (17:05 +0300)
committerMark Brown <broonie@kernel.org>
Wed, 15 Feb 2023 22:29:50 +0000 (22:29 +0000)
commit0696532e12524855fa8044590d374079f271f216
tree1dcdcf15236aa8178871254746a236cf339cd8b2
parente6a0b671880207566e1ece983bf989dde60bc1d7
spi: bcmbca-hsspi: Fix error code in probe() function

This code accidentally returns success instead of a negative error code.

Fixes: a38a2233f23b ("spi: bcmbca-hsspi: Add driver for newer HSSPI controller")
Signed-off-by: Dan Carpenter <error27@gmail.com>
Reviewed-by: Florian Fainelli <f.fainelli@gmail.com>
Reviewed-by: William Zhang <william.zhang@broadcom.com>
Link: https://lore.kernel.org/r/Y+zmrNJ9zjNQpzWq@kili
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/spi/spi-bcmbca-hsspi.c