diff options
author | 2025-04-17 11:34:29 +0200 | |
---|---|---|
committer | 2025-04-29 11:05:35 +0200 | |
commit | 529cbc9c648904e9bf07f3485a34d6e1cd3091a7 (patch) | |
tree | 2442735de5797162528b6db395f7916181a7e124 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | mtd: nand: ecc-mxic: Fix use of uninitialized variable ret (diff) | |
download | linux-rng-529cbc9c648904e9bf07f3485a34d6e1cd3091a7.tar.xz linux-rng-529cbc9c648904e9bf07f3485a34d6e1cd3091a7.zip |
mtd: rawnand: Use non-hybrid PCI devres API
denali_pci.c enables a PCI device with pcim_enable_device(). This,
implicitly, switches the function pci_request_regions() into managed
mode, where it becomes a devres function.
The PCI subsystem wants to remove this hybrid nature from its
interfaces. To do so, users of the aforementioned combination of
functions must be ported to non-hybrid functions.
Moreover, since both functions are already managed in this driver, the
calls to pci_release_regions() are unnecessary.
Remove the calls to pci_release_regions().
Replace the call to sometimes-managed pci_request_regions() with one to
the always-managed pcim_request_regions().
Signed-off-by: Philipp Stanner <phasta@kernel.org>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions