diff options
author | Corentin Labbe <clabbe@baylibre.com> | 2018-07-17 12:49:35 +0200 |
---|---|---|
committer | Tejun Heo <tj@kernel.org> | 2018-07-24 18:44:24 +0200 |
commit | 04ba9488199e3ee9971769cee585ec6847013ed2 (patch) | |
tree | a79d4799ca8bdb24e80c10ed486c203ddc594352 /drivers/base | |
parent | ata: sata_rcar: Add rudimentary Runtime PM support (diff) | |
download | linux-04ba9488199e3ee9971769cee585ec6847013ed2.tar.xz linux-04ba9488199e3ee9971769cee585ec6847013ed2.zip |
Revert "ata: ahci_platform: convert kcalloc to devm_kcalloc"
Since ahci_platform_put_resources() use target_pwrs after "devm_" freed
it, we cannot use devm_kcalloc for allocating target_pwrs.
This reverts commit bd0038b1b4f499d814d8f33a55b1df5ea6cf3b85.
Reported-and-reviwed-by: Mikko Perttunen <mperttunen@nvidia.com>
Tested-by: Marcel Ziswiler <marcel.ziswiler@toradex.com>
Tested-by: Jon Hunter <jonathanh@nvidia.com>
Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
Diffstat (limited to 'drivers/base')
0 files changed, 0 insertions, 0 deletions