[PATCH v2 11/11] mtd: physmap_of: assign parent for the concatenated MTD

2015-10-30 Thread Brian Norris
If there is more than one map region for this device, then the concatenated MTD will not have a parent device assigned to it -- only the sub-devices (which are not actually registered with the framework) will have their parents assigned. Let's assign the concatenated device correctly.

[PATCH v2 11/11] mtd: physmap_of: assign parent for the concatenated MTD

2015-10-30 Thread Brian Norris
If there is more than one map region for this device, then the concatenated MTD will not have a parent device assigned to it -- only the sub-devices (which are not actually registered with the framework) will have their parents assigned. Let's assign the concatenated device correctly.