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/88pm860x_bl.c: drop devm_kfree of devm_kzallo…
…c'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 <jg1.han@samsung.com> Cc: Richard Purdie <rpurdie@rpsys.net> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
- Loading branch information