Re: [PATCH] drivers/thermal/spear_thermal.c: use devm_clk_get

2013-01-03 Thread Zhang Rui
On Fri, 2012-12-07 at 11:29 +0100, Julia Lawall wrote: > From: Julia Lawall > > 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 func

[PATCH] drivers/thermal/spear_thermal.c: use devm_clk_get

2012-12-07 Thread Julia Lawall
From: Julia Lawall 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 --- I was not able to compil