Skip to content
Commit db0a3908 authored by Sean Wang's avatar Sean Wang Committed by Marcel Holtmann
Browse files

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: default avatarMarcel Holtmann <marcel@holtmann.org>
Signed-off-by: default avatarSean Wang <sean.wang@mediatek.com>
Acked-by: default avatarUlf Hansson <ulf.hansson@linaro.org>
Signed-off-by: default avatarMarcel Holtmann <marcel@holtmann.org>
parent bbb69b37
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment