From: Julia Lawall Date: Fri, 7 Dec 2012 10:29:32 +0000 (+0100) Subject: drivers/thermal/spear_thermal.c: use devm_clk_get X-Git-Tag: v3.9-rc1~38^2~30 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=03b79bda8d061d80a6106e257c072a2754141bab;p=pandora-kernel.git drivers/thermal/spear_thermal.c: use devm_clk_get devm_clk_get allocates a resource that is released when a driver detaches. This patch uses devm_clk_get for data that is allocated in the probe function of a platform device and is only released in the remove function. Signed-off-by: Julia Lawall Signed-off-by: Zhang Rui --- Reading git-diff-tree failed