staging: sm750fb: Use kzalloc rather than kmalloc followed by memset with 0
authorMadhusudhanan Ravindran <mravindran04@gmail.com>
Tue, 10 Mar 2015 17:37:39 +0000 (23:07 +0530)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Tue, 10 Mar 2015 20:13:55 +0000 (21:13 +0100)
commita99e334da16ce81163db0e47ec22469a79a91b72
tree16e9554068b1531d00803831c94fc7f86f172d6a
parent0fa96e39279988bde14cb6cf6cd0440185f2dae4
staging: sm750fb: Use kzalloc rather than kmalloc followed by memset with 0

The semantic patch that makes this change is available
in scriptcoccinelle/api/alloc/kzalloc-simple.cocci.

Signed-off-by: Madhusudhanan Ravindran <mravindran04@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/sm750fb/sm750.c