memremap: remove the data field in struct dev_pagemap
authorChristoph Hellwig <hch@lst.de>
Wed, 26 Jun 2019 12:27:12 +0000 (14:27 +0200)
committerJason Gunthorpe <jgg@mellanox.com>
Tue, 2 Jul 2019 17:32:44 +0000 (14:32 -0300)
commit80a72d0af05ae97a8b106c172e431072ba587492
tree9f7ace9e0b44dc866a6ac1fda624813a608b11ed
parent897e6365cda6ba6356e83a3aaa68dec82ef4c548
memremap: remove the data field in struct dev_pagemap

struct dev_pagemap is always embedded into a containing structure, so
there is no need to an additional private data field.

Signed-off-by: Christoph Hellwig <hch@lst.de>
Reviewed-by: Jason Gunthorpe <jgg@mellanox.com>
Reviewed-by: Dan Williams <dan.j.williams@intel.com>
Tested-by: Dan Williams <dan.j.williams@intel.com>
Signed-off-by: Jason Gunthorpe <jgg@mellanox.com>
drivers/nvdimm/pmem.c
include/linux/memremap.h
kernel/memremap.c
mm/hmm.c