memremap: remove the dev field in struct dev_pagemap
authorChristoph Hellwig <hch@lst.de>
Sun, 18 Aug 2019 09:05:55 +0000 (11:05 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 20 Aug 2019 12:41:35 +0000 (09:41 -0300)
commitfdc029b19dfd190840d23e5c70bd231140b0e4a4
treee8b116322db2a5211c2c4d6f5c18a57e16c368d0
parent0c385190392d8c7128fb7517b3c676e19c7b8808
memremap: remove the dev field in struct dev_pagemap

The dev field in struct dev_pagemap is only used to print dev_name in two
places, which are at best nice to have.  Just remove the field and thus
the name in those two messages.

Link: https://lore.kernel.org/r/20190818090557.17853-3-hch@lst.de
Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Tested-by: Bharata B Rao <bharata@linux.ibm.com>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
include/linux/memremap.h
kernel/memremap.c
mm/page_alloc.c
tools/testing/nvdimm/test/iomap.c