mtd: partitions: factor out code calling parser
authorBrian Norris <computersforpeace@gmail.com>
Tue, 23 May 2017 05:30:20 +0000 (07:30 +0200)
committerBrian Norris <computersforpeace@gmail.com>
Tue, 20 Jun 2017 19:59:23 +0000 (12:59 -0700)
commit01f9c7240a900d5676a8496496f2974dd36996b1
treeaa6cb77331f34fab5f16ac5f88f83ed0ca3ba7f0
parentdf1d178879f53d7f790d4bc372aa0fc5d5423328
mtd: partitions: factor out code calling parser

This code is going to be reused for parsers matched using OF so let's
factor it out to make this easier.

Signed-off-by: Brian Norris <computersforpeace@gmail.com>
Signed-off-by: Rafał Miłecki <rafal@milecki.pl>
Acked-by: Brian Norris <computersforpeace@gmail.com>
drivers/mtd/mtdpart.c