drm/msm/hdmi: fix memory leak after bridge changes
authorRob Clark <robdclark@gmail.com>
Sat, 31 Jan 2015 16:45:09 +0000 (11:45 -0500)
committerRob Clark <robdclark@gmail.com>
Sun, 1 Feb 2015 20:23:35 +0000 (15:23 -0500)
commit475ac0a13dfe108b80fbb89f54414de1a07a0d25
tree73d7b0938b463a87f9acd5bc39a4fe9d3e121f93
parent0b776d457b9476e96a65d4daace8d8f668e010d4
drm/msm/hdmi: fix memory leak after bridge changes

3d3f8b1f8b ("drm/bridge: make bridge registration independent of drm
flow") resulted that the hdmi bridge object would be leaked at teardown.
Just switch over to devm_kzalloc() as the easy way to solve this.

Signed-off-by: Rob Clark <robdclark@gmail.com>
drivers/gpu/drm/msm/hdmi/hdmi_bridge.c