diff options
author | Sean Wang <sean.wang@mediatek.com> | 2019-03-14 05:01:58 +0800 |
---|---|---|
committer | Marcel Holtmann <marcel@holtmann.org> | 2019-04-23 18:09:07 +0200 |
commit | db0a390835209c1c5dce7669de3d23a8cba10f34 (patch) | |
tree | 6178187d3900dbfeb1b6a53bdc98a56fd3106f10 /sound | |
parent | bbb69b37be15e1cff74730b7fa5659e1ee705795 (diff) | |
download | linux-stable-db0a390835209c1c5dce7669de3d23a8cba10f34.tar.gz linux-stable-db0a390835209c1c5dce7669de3d23a8cba10f34.tar.bz2 linux-stable-db0a390835209c1c5dce7669de3d23a8cba10f34.zip |
mmc: sdio: Add helper macro for sdio_driver boilerplate
This patch introduces the module_sdio_driver macro which is a convenience
macro for SDIO driver modules similar to module_usb_driver. It is intended
to be used by drivers which init/exit section does nothing but register/
unregister the SDIO driver. By using this macro it is possible to eliminate
a few lines of boilerplate code per 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>
Diffstat (limited to 'sound')
0 files changed, 0 insertions, 0 deletions