]> git.baikalelectronics.ru Git - kernel.git/commit
bcma: move code for core registration into separate function
authorRafał Miłecki <zajec5@gmail.com>
Thu, 4 Sep 2014 22:18:48 +0000 (00:18 +0200)
committerJohn W. Linville <linville@tuxdriver.com>
Tue, 9 Sep 2014 19:27:20 +0000 (15:27 -0400)
commit4ecbfa85a010f26a29dfa2bd2a95cf64b2b1ff88
tree5b23f3a2c3e0f1c37ae803432dee1553daa2e212
parentfab81b0b5c149668b1eb87a6d6c1607e33ee744d
bcma: move code for core registration into separate function

This cleans code a bit and will us to register cores in other places as
well. The only difference with this patch is using "core_index" for
setting device name.

Signed-off-by: Rafał Miłecki <zajec5@gmail.com>
Acked-by: Hauke Mehrtens <hauke@hauke-m.de>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
drivers/bcma/main.c