From: Julia Lawall Date: Tue, 31 Jul 2012 08:21:35 +0000 (-0300) Subject: [media] drivers/media/radio/radio-wl1273.c: use devm_ functions X-Git-Tag: omap-for-v3.7-rc1/fixes-cpufreq-signed~3^2^2~445 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=d91e0139351b040ec558accab84bf59d5cef5552;p=pandora-kernel.git [media] drivers/media/radio/radio-wl1273.c: 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. In two cases, the original memory allocation function was kmalloc, which has been changed to a zeroing allocation to benefit from the devm function. Signed-off-by: Julia Lawall Signed-off-by: Mauro Carvalho Chehab --- Reading git-diff-tree failed