[PATCH] crypto: atmel-tdes: Switch to managed version of kzalloc

2014-07-28 Thread pramod . gurav . etc
From: Pramod Gurav This patch switches data allocation from kzalloc to devm_kzalloc. It also removes some kfree() on data that was earlier allocated using devm_kzalloc() from probe as well as remove funtions. CC: Herbert Xu CC: "David S. Miller" CC: Grant Likely CC: Rob Herring Signed-off-b

[PATCH] crypto: atmel-sha: Switch to managed version of kzalloc

2014-07-28 Thread pramod . gurav . etc
From: Pramod Gurav This patch switches data allocation from kzalloc to devm_kzalloc. It also removed some kfree() on data that was earlier allocated using devm_kzalloc(). CC: Herbert Xu CC: "David S. Miller" CC: Grant Likely CC: Rob Herring CC: Nicolas Ferre Signed-off-by: Pramod Gurav --