bcma: use (get|put)_device when probing/removing device driver
authorRafał Miłecki <rafal@milecki.pl>
Sat, 28 Jan 2017 13:31:22 +0000 (14:31 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 31 Jan 2017 07:27:09 +0000 (09:27 +0200)
commita971df0b9d04674e325346c17de9a895425ca5e1
treeeda823e66ba32740c28a8ce4113b27caaa969423
parent2a2a5d1835b6f0baa0e207426d3c79eefd32e253
bcma: use (get|put)_device when probing/removing device driver

This allows tracking device state and e.g. makes devm work as expected.

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