bcma: Fail probe if GPIO subdriver fails
authorLinus Walleij <linus.walleij@linaro.org>
Fri, 28 Oct 2022 09:30:00 +0000 (11:30 +0200)
committerKalle Valo <kvalo@kernel.org>
Fri, 4 Nov 2022 10:59:51 +0000 (12:59 +0200)
commit74a473007ce54b1f42267cf13e008abfb1849ad0
tree4adbc299bd079a8a94097b55af65c34bd7fa05ec
parent2b6c0e152868c9c5939a5c5094d5b2be61cf48e6
bcma: Fail probe if GPIO subdriver fails

We currently register the BCMA core even if the GPIO portions
fail. There is no reason for this: the GPIO should register
just fine, if it fails the BCMA driver should fail.

We already gracefully handle the case where the GPIO driver is
not compiled in.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Kalle Valo <kvalo@kernel.org>
Link: https://lore.kernel.org/r/20221028093000.239020-1-linus.walleij@linaro.org
drivers/bcma/main.c