ata: ahci_platform: convert kzallloc to kcalloc
authorCorentin Labbe <clabbe@baylibre.com>
Thu, 12 Jul 2018 11:41:30 +0000 (11:41 +0000)
committerTejun Heo <tj@kernel.org>
Thu, 12 Jul 2018 20:02:39 +0000 (13:02 -0700)
commita4b9f5ed02e235132ca781dce77deb8cab177f36
treedec77f65dd7d284063c5b016a04aa417eb639ed5
parent7cf5fc65f9efe0838fcea4e04f48bafa6ee6eae6
ata: ahci_platform: convert kzallloc to kcalloc

It's better to kcalloc instead of kzalloc(n * sizeof())

Signed-off-by: Corentin Labbe <clabbe@baylibre.com>
Reviewed-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Tejun Heo <tj@kernel.org>
drivers/ata/libahci_platform.c