diff options
author | Yu Kuai <yukuai3@huawei.com> | 2020-11-17 04:13:22 +0300 |
---|---|---|
committer | Kevin Hilman <khilman@baylibre.com> | 2020-12-01 03:22:48 +0300 |
commit | 28f851e6afa858f182802e23ac60c3ed7d1c04a1 (patch) | |
tree | 6a1dad51678e4cc39c4827ac6ad03a910d0284cd /Kbuild | |
parent | 4a434abc40d2a0c15032f88e30aeb7ad271ba795 (diff) | |
download | linux-28f851e6afa858f182802e23ac60c3ed7d1c04a1.tar.xz |
soc: amlogic: canvas: add missing put_device() call in meson_canvas_get()
if of_find_device_by_node() succeed, meson_canvas_get() doesn't have
a corresponding put_device(). Thus add put_device() to fix the exception
handling for this function implementation.
Fixes: 382f8be04551 ("soc: amlogic: canvas: Fix meson_canvas_get when probe failed")
Signed-off-by: Yu Kuai <yukuai3@huawei.com>
Reviewed-by: Neil Armstrong <narmstrong@baylibre.com>
Signed-off-by: Kevin Hilman <khilman@baylibre.com>
Link: https://lore.kernel.org/r/20201117011322.522477-1-yukuai3@huawei.com
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions