1 bcma: return correct error code when bus scan failed
3 It is better to return the actual error code than just -1.
5 Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
7 drivers/bcma/main.c | 2 +-
8 1 file changed, 1 insertion(+), 1 deletion(-)
10 --- a/drivers/bcma/main.c
11 +++ b/drivers/bcma/main.c
12 @@ -237,7 +237,7 @@ int bcma_bus_register(struct bcma_bus *b
13 err = bcma_bus_scan(bus);
15 bcma_err(bus, "Failed to scan: %d\n", err);
20 /* Early init CC core */