cxl/pci: Fixup devm_cxl_iomap_block() to take a 'struct device *'
authorDan Williams <dan.j.williams@intel.com>
Fri, 28 May 2021 01:39:11 +0000 (18:39 -0700)
committerDan Williams <dan.j.williams@intel.com>
Sun, 6 Jun 2021 00:39:12 +0000 (17:39 -0700)
commit605a5e41db7d8c930fb80115686991c4c1d08ee4
tree243ab91b33a25db1b68fac7ec6a0bfd4b48fbb50
parent08422378c4adacf528d573bb1631d4818f8f9a01
cxl/pci: Fixup devm_cxl_iomap_block() to take a 'struct device *'

The expectation is that devm functions take 'struct device *' and pci
functions take 'struct pci_dev *'. Swap out the @pdev argument for @dev
and fixup related helpers.

Cc: Ira Weiny <ira.weiny@intel.com>
Reviewed-by: Ira Weiny <ira.weiny@intel.com>
Acked-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/162216592374.3833641.13281743585064451514.stgit@dwillia2-desk3.amr.corp.intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/core.c