cxl/pci: Simplify register setup
authorBen Widawsky <ben.widawsky@intel.com>
Fri, 16 Jul 2021 23:15:47 +0000 (16:15 -0700)
committerDan Williams <dan.j.williams@intel.com>
Fri, 6 Aug 2021 15:27:02 +0000 (08:27 -0700)
commit5b68705d1e6340127464ef0ac0e1de94f823f14e
treee0fa714b186636318c322a6b8c80d5a6a7a48872
parent1e39db573e4cdf798b899de2b1e72ac9bea08013
cxl/pci: Simplify register setup

It is desirable to retain the mappings from the calling function. By
simplifying this code, it will be much more straightforward to do that.

Signed-off-by: Ben Widawsky <ben.widawsky@intel.com>
Reviewed-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Link: https://lore.kernel.org/r/20210716231548.174778-3-ben.widawsky@intel.com
Signed-off-by: Dan Williams <dan.j.williams@intel.com>
drivers/cxl/cxl.h
drivers/cxl/pci.c
drivers/cxl/pci.h