Messages in this thread | | | From | Miquel Raynal <> | Subject | Re: [PATCH mtd/next 1/8] mtd: Add helper macro for register_mtd_blktrans boilerplate | Date | Tue, 2 Mar 2021 18:14:46 +0100 |
| |
On Sat, 2021-02-13 at 16:45:53 UTC, Dejin Zheng wrote: > This patch introduces the module_mtd_blktrans macro which is a convenience > macro for mtd blktrans modules similar to module_platform_driver. > It is intended to be used by drivers which init/exit section does nothing > but register/unregister the mtd blktrans driver. By using this macro it is > possible to eliminate a few lines of boilerplate code per mtd blktrans > driver. > > Signed-off-by: Dejin Zheng <zhengdejin5@gmail.com>
Applied to https://git.kernel.org/pub/scm/linux/kernel/git/mtd/linux.git mtd/next, thanks.
Miquel
| |