aboutsummaryrefslogtreecommitdiff
path: root/tools/testing/selftests/bpf/progs/test_autoload.c
diff options
context:
space:
mode:
authorXiongfeng Wang <[email protected]>2022-11-29 10:03:16 +0800
committerJonathan Cameron <[email protected]>2022-12-28 17:20:03 +0000
commitcbd3a0153cd18a2cbef6bf3cf31bb406c3fc9f55 (patch)
treeeb263e9d7cbd8d91709a3f4be8a5dd193b9feb36 /tools/testing/selftests/bpf/progs/test_autoload.c
parentcc3304052a89ab6ac887ed9224420a27e3d354e1 (diff)
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 <[email protected]> Link: https://lore.kernel.org/r/[email protected] Cc: <[email protected]> Signed-off-by: Jonathan Cameron <[email protected]>
Diffstat (limited to 'tools/testing/selftests/bpf/progs/test_autoload.c')
0 files changed, 0 insertions, 0 deletions