Re: [PATCH 4/6] libnvdimm/of: Symlink platform and region devices

2018-03-23 Thread Dan Williams
On Fri, Mar 23, 2018 at 1:12 AM, Oliver O'Halloran wrote: > Add a way direct link between the region and the platform device that > creates the region. > This linking would not be needed if of_nd_regions each lived on their own bus.

[PATCH 4/6] libnvdimm/of: Symlink platform and region devices

2018-03-23 Thread Oliver O'Halloran
Add a way direct link between the region and the platform device that creates the region. Signed-off-by: Oliver O'Halloran --- drivers/nvdimm/of_nvdimm.c | 11 +++ drivers/nvdimm/region_devs.c | 13 + include/linux/libnvdimm.h| 1 + 3 files changed,