On Mon, Apr 16, 2018 at 9:58 AM, Rob Herring wrote:
> Remove the direct dependency on of_node_to_nid() by using dev_to_node()
> instead. Any DT platform device will have its NUMA node id set when the
> device is created.
>
> With this, commit 291717b6fbdb ("libnvdimm, of_pmem: workaround OF_NUMA=n
Remove the direct dependency on of_node_to_nid() by using dev_to_node()
instead. Any DT platform device will have its NUMA node id set when the
device is created.
With this, commit 291717b6fbdb ("libnvdimm, of_pmem: workaround OF_NUMA=n
build error") can be reverted.
Cc: Dan Williams
Cc: Oliver