From: Jingoo Han Date: Tue, 18 Dec 2012 00:00:58 +0000 (-0800) Subject: drivers/video/backlight/max8925_bl.c: drop devm_kfree of devm_kzalloc'd data X-Git-Tag: v3.8-rc1~74^2~127 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2c114cb4edb741822ea48e80be8c525032206e9a;p=pandora-kernel.git 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 Cc: Richard Purdie Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed