mbox series

[v1,0/3] add module_sdio_driver and enable a few users

Message ID cover.1552510141.git.sean.wang@mediatek.com (mailing list archive)
Headers show
Series add module_sdio_driver and enable a few users | expand

Message

Sean Wang March 13, 2019, 9:01 p.m. UTC
From: Sean Wang <sean.wang@mediatek.com>

Add module_sdio_driver exactly like the function module_usb_drivear offers to
and enable a few users to eliminate a few lines of boilerplate code per SDIO
driver.

Sean Wang (3):
  mmc: sdio: Add helper macro for sdio_driver boilerplate
  Bluetooth: mediatek: Use module_sdio_driver helper
  Bluetooth: btsdio: Use module_sdio_driver helper

 drivers/bluetooth/btmtksdio.c | 15 +--------------
 drivers/bluetooth/btsdio.c    | 15 +--------------
 include/linux/mmc/sdio_func.h | 12 ++++++++++++
 3 files changed, 14 insertions(+), 28 deletions(-)

Comments

Ulf Hansson March 18, 2019, 10:26 a.m. UTC | #1
On Wed, 13 Mar 2019 at 22:02, <sean.wang@mediatek.com> wrote:
>
> From: Sean Wang <sean.wang@mediatek.com>
>
> Add module_sdio_driver exactly like the function module_usb_drivear offers to
> and enable a few users to eliminate a few lines of boilerplate code per SDIO
> driver.
>
> Sean Wang (3):
>   mmc: sdio: Add helper macro for sdio_driver boilerplate
>   Bluetooth: mediatek: Use module_sdio_driver helper
>   Bluetooth: btsdio: Use module_sdio_driver helper
>
>  drivers/bluetooth/btmtksdio.c | 15 +--------------
>  drivers/bluetooth/btsdio.c    | 15 +--------------
>  include/linux/mmc/sdio_func.h | 12 ++++++++++++
>  3 files changed, 14 insertions(+), 28 deletions(-)
>
> --
> 2.18.0
>

For series:

Acked-by: Ulf Hansson <ulf.hansson@linaro.org>

Kind regards
Uffe
Marcel Holtmann March 18, 2019, 5:17 p.m. UTC | #2
Hi Sean,

> Add module_sdio_driver exactly like the function module_usb_drivear offers to
> and enable a few users to eliminate a few lines of boilerplate code per SDIO
> driver.
> 
> Sean Wang (3):
>  mmc: sdio: Add helper macro for sdio_driver boilerplate
>  Bluetooth: mediatek: Use module_sdio_driver helper
>  Bluetooth: btsdio: Use module_sdio_driver helper
> 
> drivers/bluetooth/btmtksdio.c | 15 +--------------
> drivers/bluetooth/btsdio.c    | 15 +--------------
> include/linux/mmc/sdio_func.h | 12 ++++++++++++
> 3 files changed, 14 insertions(+), 28 deletions(-)

all 3 patches have been applied to bluetooth-next tree.

Regards

Marcel