diff options
| author | Christophe Jaillet <[email protected]> | 2016-09-24 20:07:30 +0000 |
|---|---|---|
| committer | Thierry Reding <[email protected]> | 2016-11-07 12:03:41 +0000 |
| commit | 4141e7448b501227967ff274af5f4eadadb6068b (patch) | |
| tree | cdee9ef5c5d16e5c5c048c49f141c484076a7abe /drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c | |
| parent | drm/tegra: Fix error handling (diff) | |
| download | kernel-4141e7448b501227967ff274af5f4eadadb6068b.tar.gz kernel-4141e7448b501227967ff274af5f4eadadb6068b.zip | |
drm/tegra: sor: No need to free devm_ allocated memory
Memory for the brick clock is allocated by devm_kzalloc(), so there is
no need here to free it explicitly.
The only function that calls tegra_clk_sor_brick_register() is the probe
function and it correctly checks and handles the return value, which, on
failure, will cause devm_ allocated memory to be freed automatically.
Signed-off-by: Christophe JAILLET <[email protected]>
Signed-off-by: Thierry Reding <[email protected]>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_pm.c')
0 files changed, 0 insertions, 0 deletions
