libnvdimm, pmem: clean up resource print / request
authorDan Williams <dan.j.williams@intel.com>
Tue, 22 Mar 2016 05:28:40 +0000 (22:28 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 22 Apr 2016 19:26:23 +0000 (12:26 -0700)
commit947df02d255a6a81a3832e831c5ca02078cfd529
tree2da52b4eee0f0e1af712623bd184e23935147233
parent030b99e39cad33b104474fbe688e0eb23d8209b4
libnvdimm, pmem: clean up resource print / request

The leading '0x' in front of %pa is redundant, also we can just use %pR
to simplify the print statement.  The request parameters can be directly
taken from the resource as well.

Reviewed-by: Johannes Thumshirn <jthumshirn@suse.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/nvdimm/pmem.c