aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/fpga/fpga-region.c
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2018-04-16 16:58:16 +0000
committerDan Williams <[email protected]>2018-04-19 22:07:10 +0000
commitdf3f126482dba8e00cdbfc8fc44a05a5a35b1704 (patch)
treeb061b55d4c8bcb086a043184259bb7fff44dc58b /drivers/fpga/fpga-region.c
parenttools/testing/nvdimm: enable labels for nfit_test.1 dimms (diff)
downloadkernel-df3f126482dba8e00cdbfc8fc44a05a5a35b1704.tar.gz
kernel-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 <[email protected]> Cc: Oliver O'Halloran <[email protected]> Cc: [email protected] Signed-off-by: Rob Herring <[email protected]> Signed-off-by: Dan Williams <[email protected]>
Diffstat (limited to 'drivers/fpga/fpga-region.c')
0 files changed, 0 insertions, 0 deletions