Re: [PATCH] ieee802154: Introduce the use of the managed version of kzalloc

2014-05-18 Thread David Miller
From: Himangi Saraogi Date: Fri, 16 May 2014 23:39:35 +0530 > This patch moves data allocated using kzalloc to managed data allocated > using devm_kzalloc and cleans now unnecessary kfrees in probe and remove > functions. Likewise please add an explicit linux/device.h include to make sure the de

[PATCH] ieee802154: Introduce the use of the managed version of kzalloc

2014-05-16 Thread Himangi Saraogi
This patch moves data allocated using kzalloc to managed data allocated using devm_kzalloc and cleans now unnecessary kfrees in probe and remove functions. The following Coccinelle semantic patch was used for making the change: @platform@ identifier p, probefn, removefn; @@ struct platform_driver