-
由 Corentin Labbe 提交于
Since ahci_platform_put_resources() use target_pwrs after "devm_" freed it, we cannot use devm_kcalloc for allocating target_pwrs. This reverts commit bd0038b1. Reported-and-reviwed-by: NMikko Perttunen <mperttunen@nvidia.com> Tested-by: NMarcel Ziswiler <marcel.ziswiler@toradex.com> Tested-by: NJon Hunter <jonathanh@nvidia.com> Signed-off-by: NCorentin Labbe <clabbe@baylibre.com> Signed-off-by: NTejun Heo <tj@kernel.org>
04ba9488