summaryrefslogtreecommitdiffstats
path: root/arch/m68k/lib
diff options
context:
space:
mode:
authorNuno Sá <nuno.sa@analog.com>2020-09-25 11:10:45 +0200
committerJonathan Cameron <Jonathan.Cameron@huawei.com>2020-09-29 18:34:25 +0200
commitb8a533f3c24b3b8f1fdbefc5ada6a7d5733d63e6 (patch)
treeacd2740e3a6e712e2a083b91d8f7d2c2971f2656 /arch/m68k/lib
parentiio: ltc2983: Fix of_node refcounting (diff)
downloadlinux-b8a533f3c24b3b8f1fdbefc5ada6a7d5733d63e6.tar.xz
linux-b8a533f3c24b3b8f1fdbefc5ada6a7d5733d63e6.zip
iio: ad7292: Fix of_node refcounting
When returning or breaking early from a `for_each_available_child_of_node()` loop, we need to explicitly call `of_node_put()` on the child node to possibly release the node. Fixes: 506d2e317a0a0 ("iio: adc: Add driver support for AD7292") Signed-off-by: Nuno Sá <nuno.sa@analog.com> Cc: stable@vger.kernel.org Link: https://lore.kernel.org/r/20200925091045.302-2-nuno.sa@analog.com Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'arch/m68k/lib')
0 files changed, 0 insertions, 0 deletions