From: Wei Yongjun
Date: Wed, 28 Mar 2018 12:51:01 +
> The devm_kfree function allocates memory that is released when a
devm_kfree doesn't allocate memory, it frees it.
Your commit log message is confusing at best. I know what you're
trying to say, but a lot of the
The devm_kfree function allocates memory that is released when a
driver detaches. Also the driver core clears the driver data to NULL
after device release. So remove the unnecessary pci_set_drvdata()
and devm_kfree().
Signed-off-by: Wei Yongjun
---