mtd: partitions: add module_mtd_part_parser() helper
authorBrian Norris <computersforpeace@gmail.com>
Thu, 12 Nov 2015 03:13:29 +0000 (19:13 -0800)
committerBrian Norris <computersforpeace@gmail.com>
Fri, 20 Nov 2015 02:46:28 +0000 (18:46 -0800)
commitb9eab01125bf3cb6f5fbab1811402d16c9fcf4ec
tree8f117ec9783e121e50b16d7601dc10254a268b01
parent1d158315c13b6989f7ddb1d8d334965d14d958d8
mtd: partitions: add module_mtd_part_parser() helper

This can help eliminate some boilerplate by generating the module_init()
and module_exit() functions, and by automatically assigning the module
owner.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/mtdpart.c
include/linux/mtd/partitions.h