bcma: keep a direct pointer to the struct device
authorRafał Miłecki <rafal@milecki.pl>
Tue, 1 Jan 2019 23:00:01 +0000 (00:00 +0100)
committerKalle Valo <kvalo@codeaurora.org>
Thu, 10 Jan 2019 11:39:18 +0000 (13:39 +0200)
commit5a1c18b761ddb299a06746948b9ec2814b04fa92
tree163725e7719d68dab4ad9cb52d6f060177e45b59
parent7fdcb8e1266093eb2ff1bc3ab430daf4775388ad
bcma: keep a direct pointer to the struct device

Accessing struct device is pretty useful/common so having a direct
pointer:
1) Simplifies some code
2) Makes bcma_bus_get_host_dev() unneeded
3) Allows further improvements like using dev_* printing helpers

Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Signed-off-by: Kalle Valo <kvalo@codeaurora.org>
drivers/bcma/bcma_private.h
drivers/bcma/driver_gpio.c
drivers/bcma/host_pci.c
drivers/bcma/host_soc.c
drivers/bcma/main.c
include/linux/bcma/bcma.h