drm/radeon: use kzalloc for allocating one thing
authorManinder Singh <maninder1.s@samsung.com>
Fri, 19 Jun 2015 04:05:23 +0000 (09:35 +0530)
committerAlex Deucher <alexander.deucher@amd.com>
Mon, 29 Jun 2015 15:21:39 +0000 (11:21 -0400)
commit69ee2410238e6ea6fd5d0a91b04510bba8abc7b5
treec905ba63bfcbef9e33afb3828ed88500f80b11c5
parente922cfb1c410d8cb200a08f1b2a527d92d95480a
drm/radeon: use kzalloc for allocating one thing

Use kzalloc for allocating one thing rather than
kcalloc(1...

The semantic patch that makes this change is as follows:

// <smpl>
@@
@@

- kcalloc(1,
+ kzalloc(
          ...)
// </smpl>

Signed-off-by: Maninder Singh <maninder1.s@samsung.com>
Reviewed-by: Vaneet Narang <v.narang@samsung.com>
Reviewed-by: Christian König <christian.koenig@amd.com>
Signed-off-by: Alex Deucher <alexander.deucher@amd.com>
drivers/gpu/drm/radeon/radeon_ttm.c
This page took 0.025509 seconds and 5 git commands to generate.