[PATCH V1] mtd : nand : denali :- No need of devm functions
Arvind Yadav
arvind.yadav.cs at gmail.com
Sun Jan 1 23:56:01 PST 2017
yes, if Memory is live out side function. Then devm_kzalloc()
approach has the benefit of simplifying the different error paths.
Here, Memory is alive with in function. we are going to free allocate memory
then why we need devm api. In this case Devm will first add this entry to
list and immediately it will remove from list. In this case, It's just a
overhead
for devm api.
-Arvind
On Thursday 29 December 2016 10:54 PM, Boris Brezillon wrote:
> The
> devm_kzalloc() approach has the benefit of simplifying the different
> error paths.
More information about the linux-mtd
mailing list