summaryrefslogtreecommitdiffstats
path: root/drivers/thermal
diff options
context:
space:
mode:
authorNicolas Saenz Julienne <nsaenzjulienne@suse.de>2018-12-03 13:21:01 +0100
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2018-12-21 14:15:21 +0100
commit4c2efd8cf5d9138d83f772bab8f00d5f771c41a7 (patch)
treece73f1d494e6592d25a5525d4d44db9931272477 /drivers/thermal
parent80eaec9b94bccbd752b41523e160b63a4711a7f2 (diff)
downloadlinux-stable-4c2efd8cf5d9138d83f772bab8f00d5f771c41a7.tar.gz
linux-stable-4c2efd8cf5d9138d83f772bab8f00d5f771c41a7.tar.bz2
linux-stable-4c2efd8cf5d9138d83f772bab8f00d5f771c41a7.zip
ethernet: fman: fix wrong of_node_put() in probe function
[ Upstream commit ecb239d96d369c23c33d41708646df646de669f4 ] After getting a reference to the platform device's of_node the probe function ends up calling of_find_matching_node() using the node as an argument. The function takes care of decreasing the refcount on it. We are then incorrectly decreasing the refcount on that node again. This patch removes the unwarranted call to of_node_put(). Fixes: 414fd46e7762 ("fsl/fman: Add FMan support") Signed-off-by: Nicolas Saenz Julienne <nsaenzjulienne@suse.de> Signed-off-by: David S. Miller <davem@davemloft.net> Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/thermal')
0 files changed, 0 insertions, 0 deletions