diff options
author | Brian Norris <computersforpeace@gmail.com> | 2015-11-12 04:13:30 +0100 |
---|---|---|
committer | Brian Norris <computersforpeace@gmail.com> | 2015-11-20 03:46:29 +0100 |
commit | b8f70badb8cd7c928f7e076b6143aeb66fe13c8b (patch) | |
tree | 09a34598646ee8dd8c988983e6e1917487bc0665 /drivers/mtd/cmdlinepart.c | |
parent | mtd: partitions: add module_mtd_part_parser() helper (diff) | |
download | linux-b8f70badb8cd7c928f7e076b6143aeb66fe13c8b.tar.xz linux-b8f70badb8cd7c928f7e076b6143aeb66fe13c8b.zip |
mtd: kill off MTD partition parser boilerplate
Most parsers can be handled with our new boilerplate-reducing macro.
There are a few that can't be (cmdlineparts and ofpart).
Also kill off the owner assignments, since register_mtd_parser() now
takes care of that.
Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Diffstat (limited to 'drivers/mtd/cmdlinepart.c')
-rw-r--r-- | drivers/mtd/cmdlinepart.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mtd/cmdlinepart.c b/drivers/mtd/cmdlinepart.c index 08f62987cc37..420489864bc2 100644 --- a/drivers/mtd/cmdlinepart.c +++ b/drivers/mtd/cmdlinepart.c @@ -382,7 +382,6 @@ static int __init mtdpart_setup(char *s) __setup("mtdparts=", mtdpart_setup); static struct mtd_part_parser cmdline_parser = { - .owner = THIS_MODULE, .parse_fn = parse_cmdline_partitions, .name = "cmdlinepart", }; |