Switch to resource-managed function devm_kzalloc instead
of kzalloc and remove unneeded kzfree
Remove kfree in probe function and remove
function as it is now has nothing to do
The Coccinelle semantic patch used to make this change is as follows:
//
@platform@
identifier p, probefn, removefn;
@@
Switch to resource-managed function devm_kzalloc instead
of kzalloc and remove unneeded kzfree
Remove kfree in probe function and remove
function as it is now has nothing to do
The Coccinelle semantic patch used to make this change is as follows:
//
@platform@
identifier p, probefn, removefn;
@@
2 matches
Mail list logo