aboutsummaryrefslogtreecommitdiff
path: root/lib/memory-notifier-error-inject.c
diff options
context:
space:
mode:
authorChristophe JAILLET <[email protected]>2024-05-20 11:55:54 +0200
committerHans Verkuil <[email protected]>2024-05-28 08:00:14 +0200
commitfe61b2906bd046535f4ef7dfcd69562f531ccd38 (patch)
tree15428f0b3f23dbdd8d7c7b323c023495312cb218 /lib/memory-notifier-error-inject.c
parentfd7ccfb112302c6941f03095544c10879ced98be (diff)
media: intel/ipu6: Fix some redundant resources freeing in ipu6_pci_remove()
pcim_iomap_regions() and pcim_enable_device() are used in the probe. So the corresponding managed resources don't need to be freed explicitly in the remove function. Remove the incorrect pci_release_regions() and pci_disable_device() calls. Fixes: 25fedc021985 ("media: intel/ipu6: add Intel IPU6 PCI device driver") Signed-off-by: Christophe JAILLET <[email protected]> Reviewed-by: Bingbu Cao <[email protected]> Signed-off-by: Sakari Ailus <[email protected]> Signed-off-by: Hans Verkuil <[email protected]>
Diffstat (limited to 'lib/memory-notifier-error-inject.c')
0 files changed, 0 insertions, 0 deletions