From: Julia Lawall Date: Fri, 23 Mar 2012 22:02:00 +0000 (-0700) Subject: drivers/video/backlight: use devm_ functions X-Git-Tag: v3.4-rc1~109^2~115 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=ce969228fdb54a7e3d7cc1ed27367fd4b9525d74;p=pandora-kernel.git drivers/video/backlight: use devm_ functions The various devm_ functions allocate memory that is released when a driver detaches. This patch uses these functions for data that is allocated in the probe function of a platform device and is only freed in the remove function. Signed-off-by: Julia Lawall Cc: Dimitris Papastamos Cc: Richard Purdie Cc: Florian Tobias Schandinat Cc: Mark Brown Cc: Michael Hennerich Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- Reading git-diff-tree failed