bcma: use helper function to set core dev's parent
authorRafał Miłecki <rafal@milecki.pl>
Fri, 3 Mar 2017 10:34:14 +0000 (11:34 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Mon, 20 Mar 2017 17:12:00 +0000 (19:12 +0200)
commit5e48a4cd2ee916a98fbc36c944b21a7c935cf4f4
tree451c20e811e97332a0e438f1e43295356600de90
parent48d1977655341f1e004beb81eda8e93316c55963
bcma: use helper function to set core dev's parent

A tiny code deduplication thanks to the bcma_bus_get_host_dev.

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/bcma/main.c