bcma: Use dev_get_drvdata
authorChuhong Yuan <hslester96@gmail.com>
Tue, 23 Jul 2019 08:29:19 +0000 (16:29 +0800)
committerKalle Valo <kvalo@codeaurora.org>
Tue, 6 Aug 2019 12:25:28 +0000 (15:25 +0300)
commit9236c1250cb7c6c645a658485efc2f99d57e96c2
treec635af85b16107bb09560308f32ea6b6ae7925e6
parent3457f86da60de73705bce8fe32a36651441e639e
bcma: Use dev_get_drvdata

Instead of using to_pci_dev + pci_get_drvdata,
use dev_get_drvdata to make code simpler.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/bcma/host_pci.c