Bluetooth: btsdio: Use module_sdio_driver helper
authorSean Wang <sean.wang@mediatek.com>
Wed, 13 Mar 2019 21:02:00 +0000 (05:02 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 23 Apr 2019 16:09:07 +0000 (18:09 +0200)
commitafa8d3160add52e79c1d022ce22d20528d462910
tree3ef4777f141d479ab1ab7e9013ff65a680c3fc3b
parenta6094a468ffca372cb0107cc6bafc7c992477e7b
Bluetooth: btsdio: Use module_sdio_driver helper

Macro module_sdio_driver is used for drivers whose init and exit paths
only register and unregister to SDIO API. So remove boilerplate code to
make code simpler by using module_sdio_driver.

Signed-off-by: Sean Wang <sean.wang@mediatek.com>
Acked-by: Ulf Hansson <ulf.hansson@linaro.org>
Signed-off-by: Marcel Holtmann <marcel@holtmann.org>
drivers/bluetooth/btsdio.c