commit | 03b79bda8d061d80a6106e257c072a2754141bab | [log] [tgz] |
---|---|---|
author | Julia Lawall <Julia.Lawall@lip6.fr> | Fri Dec 07 11:29:32 2012 +0100 |
committer | Zhang Rui <rui.zhang@intel.com> | Fri Jan 04 15:38:25 2013 +0800 |
tree | 7efbfbfcdf9e4b4af9f2cd4e605571763b2906dc | |
parent | d2a73e225d113fdccd80373ad9aeb2b58b32a30b [diff] |
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 <Julia.Lawall@lip6.fr> Signed-off-by: Zhang Rui <rui.zhang@intel.com>