diff options
author | Rob Herring <robh@kernel.org> | 2018-04-16 18:58:16 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2018-04-20 00:07:10 +0200 |
commit | df3f126482dba8e00cdbfc8fc44a05a5a35b1704 (patch) | |
tree | b061b55d4c8bcb086a043184259bb7fff44dc58b /drivers/hsi | |
parent | tools/testing/nvdimm: enable labels for nfit_test.1 dimms (diff) | |
download | linux-df3f126482dba8e00cdbfc8fc44a05a5a35b1704.tar.xz linux-df3f126482dba8e00cdbfc8fc44a05a5a35b1704.zip |
libnvdimm, of_pmem: use dev_to_node() instead of of_node_to_nid()
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.
Fixes: 717197608952 ("libnvdimm: Add device-tree based driver")
Cc: Dan Williams <dan.j.williams@intel.com>
Cc: Oliver O'Halloran <oohall@gmail.com>
Cc: linux-nvdimm@lists.01.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/hsi')
0 files changed, 0 insertions, 0 deletions