lkml.org 
[lkml]   [2019]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH v1 0/3] add module_sdio_driver and enable a few users
Date
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

\
 
 \ /
  Last update: 2019-03-13 22:02    [W:0.071 / U:1.052 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site