bcma: return correct error code when bus scan failed
authorHauke Mehrtens <hauke@hauke-m.de>
Mon, 15 Jul 2013 11:15:07 +0000 (13:15 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Mon, 22 Jul 2013 20:54:40 +0000 (16:54 -0400)
commit1cabf7dba57011339d7e5a44b2c9829305936372
treede622710cc50fd31e039ec74e938fab91fc96bd9
parent16041990d1c75efb4408d19413cf4fd27aa148dd
bcma: return correct error code when bus scan failed

It is better to return the actual error code than just -1.

Signed-off-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/main.c