diff options
author | Yu Kuai <yukuai3@huawei.com> | 2020-09-05 16:30:58 +0800 |
---|---|---|
committer | Chun-Kuang Hu <chunkuang.hu@kernel.org> | 2020-09-17 06:58:01 +0800 |
commit | d494c257271153633a05c11e6dec85ddfc7700ee (patch) | |
tree | ed0469153be650d268c831bd766323cfbbc4c6a1 /.cocciconfig | |
parent | f85acdad07fe36b91f2244263a890bf372528326 (diff) |
drm/mediatek: Add missing put_device() call in mtk_ddp_comp_init()
if of_find_device_by_node() succeed, mtk_ddp_comp_init() doesn't have
a corresponding put_device(). Thus add put_device() to fix the exception
handling for this function implementation.
Fixes: d0afe37f5209 ("drm/mediatek: support CMDQ interface in ddp component")
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Signed-off-by: Chun-Kuang Hu <chunkuang.hu@kernel.org>
Diffstat (limited to '.cocciconfig')
0 files changed, 0 insertions, 0 deletions