[PATCH 3/3] ata: ahci_platform: convert kcalloc to devm_kcalloc

2018-07-12 Thread Corentin Labbe
Like phys, target_pwrs could be allocated with devm_ function Signed-off-by: Corentin Labbe --- drivers/ata/libahci_platform.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/ata/libahci_platform.c b/drivers/ata/libahci_platform.c index be9f54423a9b..fe8939e161ea

[PATCH 3/3] ata: ahci_platform: convert kcalloc to devm_kcalloc

2018-07-12 Thread Corentin Labbe
Like phys, target_pwrs could be allocated with devm_ function Signed-off-by: Corentin Labbe --- drivers/ata/libahci_platform.c | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/drivers/ata/libahci_platform.c b/drivers/ata/libahci_platform.c index be9f54423a9b..fe8939e161ea