diff options
author | Dan Williams <dan.j.williams@intel.com> | 2015-09-15 08:42:20 +0200 |
---|---|---|
committer | Dan Williams <dan.j.williams@intel.com> | 2015-10-09 23:00:33 +0200 |
commit | b36f47617f6ce7c5e8e7c264b9d9ea0654d9f20a (patch) | |
tree | d08894bd10818244ad58444151f201eacc6fa5a7 /drivers/base/devres.c | |
parent | devm_memunmap: use devres_release() (diff) | |
download | linux-b36f47617f6ce7c5e8e7c264b9d9ea0654d9f20a.tar.xz linux-b36f47617f6ce7c5e8e7c264b9d9ea0654d9f20a.zip |
devm_memremap: convert to return ERR_PTR
Make devm_memremap consistent with the error return scheme of
devm_memremap_pages to remove special casing in the pmem driver.
Cc: Christoph Hellwig <hch@lst.de>
Cc: Ross Zwisler <ross.zwisler@linux.intel.com>
Reviewed-by: Christoph Hellwig <hch@lst.de>
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
Diffstat (limited to 'drivers/base/devres.c')
0 files changed, 0 insertions, 0 deletions