device-dax: Move resource pinning+mapping into the common driver
authorDan Williams <dan.j.williams@intel.com>
Mon, 29 Oct 2018 22:52:42 +0000 (15:52 -0700)
committerDan Williams <dan.j.williams@intel.com>
Mon, 7 Jan 2019 05:26:21 +0000 (21:26 -0800)
commit89ec9f2cfa36cc5fca2fb445ed221bb9add7b536
tree1306755d2ecae784ddee3df710c16c4cfeaff771
parent9567da0b408a2553d32ca83cba4f1fc5a8aad459
device-dax: Move resource pinning+mapping into the common driver

Move the responsibility of calling devm_request_resource() and
devm_memremap_pages() into the common device-dax driver. This is another
preparatory step to allowing an alternate personality driver for a
device-dax range.

Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/dax/bus.c
drivers/dax/bus.h
drivers/dax/dax-private.h
drivers/dax/device.c
drivers/dax/pmem.c