diff options
author | Christophe JAILLET <[email protected]> | 2020-12-17 21:42:36 +0100 |
---|---|---|
committer | Ulf Hansson <[email protected]> | 2021-02-01 11:54:42 +0100 |
commit | c9c256a8b0dc09c305c409d6264cc016af2ba38d (patch) | |
tree | 07c46b176af7e2b4e57ff2bbc408adb583cc30a6 /tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py | |
parent | 5d15cbf63515c6183d2ed7c9dd0586b4db23ffb1 (diff) |
mmc: sdhci-sprd: Fix some resource leaks in the remove function
'sdhci_remove_host()' and 'sdhci_pltfm_free()' should be used in place of
'mmc_remove_host()' and 'mmc_free_host()'.
This avoids some resource leaks, is more in line with the error handling
path of the probe function, and is more consistent with other drivers.
Fixes: fb8bd90f83c4 ("mmc: sdhci-sprd: Add Spreadtrum's initial host controller")
Signed-off-by: Christophe JAILLET <[email protected]>
Acked-by: Orson Zhai <[email protected]>
Acked-by: Adrian Hunter <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Ulf Hansson <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/Perf-Trace-Util/lib/Perf/Trace/EventClass.py')
0 files changed, 0 insertions, 0 deletions