diff options
author | Chuhong Yuan <hslester96@gmail.com> | 2019-12-06 15:55:31 +0800 |
---|---|---|
committer | Daniel Lezcano <daniel.lezcano@linaro.org> | 2020-01-27 11:43:24 +0100 |
commit | 66dd8b802c555a9becd81679dc0ee57ede67b142 (patch) | |
tree | 62e3c99e74c835a28c952551d4dda94de2b6f502 /tools/thermal | |
parent | f64a6583d3f527b297b88441e1c20e6ed45f8f56 (diff) |
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
Diffstat (limited to 'tools/thermal')
0 files changed, 0 insertions, 0 deletions