Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
drivers/video/backlight/max8925_bl.c: drop devm_kfree of devm_kzalloc…
…'d data devm_kfree() allocates memory that is released when a driver detaches. Thus, there is no reason to explicitly call devm_kfree in probe or remove functions. Signed-off-by: Jingoo Han <[email protected]> Cc: Richard Purdie <[email protected]> Signed-off-by: Andrew Morton <[email protected]> Signed-off-by: Linus Torvalds <[email protected]>
- Loading branch information