mfd: intel-lpss: Use PCI APIs instead of dereferencing
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Mon, 6 Nov 2023 18:40:51 +0000 (20:40 +0200)
committerLee Jones <lee@kernel.org>
Thu, 7 Dec 2023 13:50:25 +0000 (13:50 +0000)
commit6978c7d2dd81e0a3f9d30d1fbdb013a5ae5fabaf
treeb7ba20076fb5bf0a5a9593eb957f85129d7f302b
parent895243c8763e9c81cace2d526d9770fa1ad035a2
mfd: intel-lpss: Use PCI APIs instead of dereferencing

We have a few PCI APIs that may be used instead of direct dereferencing,
Using them will also provide better error codes.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Link: https://lore.kernel.org/r/20231106184052.1166579-2-andriy.shevchenko@linux.intel.com
Signed-off-by: Lee Jones <lee@kernel.org>
drivers/mfd/intel-lpss-pci.c