diff options
author | 2022-11-29 10:03:16 +0800 | |
---|---|---|
committer | 2022-12-28 17:20:03 +0000 | |
commit | cbd3a0153cd18a2cbef6bf3cf31bb406c3fc9f55 (patch) | |
tree | eb263e9d7cbd8d91709a3f4be8a5dd193b9feb36 /tools/perf/scripts/python | |
parent | iio: adc: stm32-dfsdm: fill module aliases (diff) | |
download | wireguard-linux-cbd3a0153cd18a2cbef6bf3cf31bb406c3fc9f55.tar.xz wireguard-linux-cbd3a0153cd18a2cbef6bf3cf31bb406c3fc9f55.zip |
iio: adc: berlin2-adc: Add missing of_node_put() in error path
of_get_parent() will return a device_node pointer with refcount
incremented. We need to use of_node_put() on it when done. Add the
missing of_node_put() in the error path of berlin2_adc_probe();
Fixes: 70f1937911ca ("iio: adc: add support for Berlin")
Signed-off-by: Xiongfeng Wang <wangxiongfeng2@huawei.com>
Link: https://lore.kernel.org/r/20221129020316.191731-1-wangxiongfeng2@huawei.com
Cc: <Stable@vger.kernel.org>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions