diff options
author | Julia Lawall <Julia.Lawall@lip6.fr> | 2012-12-07 10:29:32 (GMT) |
---|---|---|
committer | Zhang Rui <rui.zhang@intel.com> | 2013-01-04 07:38:25 (GMT) |
commit | 03b79bda8d061d80a6106e257c072a2754141bab (patch) | |
tree | 7efbfbfcdf9e4b4af9f2cd4e605571763b2906dc /drivers/regulator/dummy.c | |
parent | d2a73e225d113fdccd80373ad9aeb2b58b32a30b (diff) | |
download | linux-fsl-qoriq-03b79bda8d061d80a6106e257c072a2754141bab.tar.xz |
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>
Diffstat (limited to 'drivers/regulator/dummy.c')
0 files changed, 0 insertions, 0 deletions