gpu: host1x: syncpt: Use kcalloc() instead of kzalloc()
authorThierry Reding <treding@nvidia.com>
Thu, 23 Jun 2016 09:24:59 +0000 (11:24 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 23 Jun 2016 09:59:28 +0000 (11:59 +0200)
commitb47a04919680185c3bdaa8f8d832addd38172a65
treee8807c199947121a739a5935538ff63d235dd714
parentebb2475c4731d9c9940db6ff6514fab723e1f489
gpu: host1x: syncpt: Use kcalloc() instead of kzalloc()

Use kcalloc() to allocate arrays rather than passing the product of the
size per element by the number of elements to kzalloc().

Signed-off-by: Thierry Reding <treding@nvidia.com>
drivers/gpu/host1x/syncpt.c