summaryrefslogtreecommitdiff
path: root/drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
diff options
context:
space:
mode:
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>2016-01-26 16:38:59 +0000
committerMark Brown <broonie@kernel.org>2016-01-27 14:41:42 +0000
commit6333ef46bbe514a8ece6c432aab6bcf8637b2d7c (patch)
tree5bbf8dd20e09a5d70feeb43e288a559dc72dee72 /drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c
parent92e963f50fc74041b5e9e744c330dca48e04f08d (diff)
regulator: core: Rely on regulator_dev_release to free constraints
As we now free the constraints in regulator_dev_release we will still call free on the constraints pointer even if we went down an error path in regulator_register, because it is only allocated after the device_register. As such we no longer need to free rdev->constraints on the error paths, so this patch removes said frees. Fixes: 29f5f4860a8e ("regulator: core: Move more deallocation into class unregister") Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_gem.c')
0 files changed, 0 insertions, 0 deletions