Home
last modified time | relevance | path

Searched hist:"66 dd8b802c555a9becd81679dc0ee57ede67b142" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/thermal/intel/
H A Dintel_pch_thermal.cdiff 66dd8b802c555a9becd81679dc0ee57ede67b142 Fri Dec 06 08:55:31 CET 2019 Chuhong Yuan <hslester96@gmail.com> thermal: intel: Fix unmatched pci_release_region

The driver calls pci_request_regions() in probe and uses
pci_release_regions() in probe failure.
However, it calls pci_release_region() in remove, which does
match the other two calls.
Use pci_release_regions() instead to unify them.

Signed-off-by: Chuhong Yuan <hslester96@gmail.com>
Acked-by: Zhang Rui <rui.zhang@intel.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20191206075531.18637-1-hslester96@gmail.com