]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
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)
committerJiri Slaby <jslaby@suse.cz>
Mon, 13 Mar 2017 20:40:38 +0000 (21:40 +0100)
commit47515a848a8a5466239d17cb516a144f26163533
treef2f44411660ecdd0ea43620e6320df682dfa7abb
parentf4880e923d940840fd646890207c0fa749ea0864
bcma: use (get|put)_device when probing/removing device driver

commit a971df0b9d04674e325346c17de9a895425ca5e1 upstream.

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

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