diff options
author | 2022-02-13 18:34:35 +0800 | |
---|---|---|
committer | 2022-02-14 13:42:05 +0100 | |
commit | 57bfb34a51c7c655335010b3168c1061b5eba354 (patch) | |
tree | 89828c02c2c128a4209bae8a2efd5cbb668abb59 /drivers/gpu/drm/amd/amdgpu/amdgpu_object.c | |
parent | drm/bridge: anx7625: send DPCD command to downstream (diff) | |
download | linux-dev-57bfb34a51c7c655335010b3168c1061b5eba354.tar.xz linux-dev-57bfb34a51c7c655335010b3168c1061b5eba354.zip |
drm/bridge: anx7625: Convert to use devm_kzalloc
Use devm_kzalloc instead of kzalloc and drop kfree(). Let the memory
handled by driver detach.
Signed-off-by: Hsin-Yi Wang <hsinyi@chromium.org>
Reviewed-by: Xin Ji <xji@analogixsemi.com>
Signed-off-by: Robert Foss <robert.foss@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20220213103437.3363848-2-hsinyi@chromium.org
Diffstat (limited to 'drivers/gpu/drm/amd/amdgpu/amdgpu_object.c')
0 files changed, 0 insertions, 0 deletions