Bluetooth: mediatek: Use module_sdio_driver helper
authorSean Wang <sean.wang@mediatek.com>
Wed, 13 Mar 2019 21:01:59 +0000 (05:01 +0800)
committerMarcel Holtmann <marcel@holtmann.org>
Tue, 23 Apr 2019 16:09:07 +0000 (18:09 +0200)
commita6094a468ffca372cb0107cc6bafc7c992477e7b
tree1baf425c88954e6e35ad014f5f721fb538b948d3
parentdb0a390835209c1c5dce7669de3d23a8cba10f34
Bluetooth: mediatek: 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.

Suggested-by: Marcel Holtmann <marcel@holtmann.org>
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/btmtksdio.c