Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp470988pxx; Wed, 28 Oct 2020 09:05:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxfmmRC8F4FJYYasEWyqiG7mRHFC+ceg1im+Ex17jzOus/bBY8QCSu90SJNbaquHFUvJpMK X-Received: by 2002:a17:906:3997:: with SMTP id h23mr7994927eje.191.1603901104184; Wed, 28 Oct 2020 09:05:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603901104; cv=none; d=google.com; s=arc-20160816; b=CsRU7sLd1sIK6FvevJlOgEo1mYGGNCltTzhS3nhcMTUDzFoKJxO+r+0LiCcSJ2PxJB jqAgQxPdG7tyK54yB39OL9uii623l5fubHhPkJNYji02B61O4un9lJ10IjcuQ9GMlVfY r0T54dwXcXDNY5dnBxRajj47BFIxxDE56369OcEbJqHAqgrKIYP3OEacMRi0JJP7pGiJ e2O901eubDk7YtrtN3d/Mz21Gf8UYZUL90+H4YGiLXxKKslSVwOTL/atVllziygS6hb4 o0C/PUuMMbOFOh+WZzhG3pjoIm2WBI61CDC6AV2PDccGjeO30TLpKxkdolEpWSK0JCAi XasQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :user-agent:references:in-reply-to:message-id:date:subject:cc:to :from:dkim-signature; bh=U8YhB5I48E9UjbGR2lJhrWQzFJvuCY30OPHn0cNxJ9Y=; b=TaJMuICGGhbeNPsrvZXYNGkPrYa80q2ErjE579Cz8MazcD6D8ILFkF7ml9QBM3mXus AIPi3GFJHB/lcqp/CXtCLFMpBKt9muooCkw2HciCwAY7e2Xo2OnAKmb9YBSsUEy8bHYZ TY+EpRhh3WYwKkOZiuFr1kwrIETAtemuuShGNSKfYwlVa1MKbn7CjVHp4T4LBbkdkWMG 9vR9xYXYStQ23Tq1l95CFcpA7eVKviYMgtvOpA54EQdkqLfGSn8Ki0iBsND+LQZt0SDt bJCZCjT4hwG0Okrg73FOROjNxawLpm8QQQhO1nSU/W5DjCc0HCKwYJ+yg75QNDyRmAan h9nw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sqPiN6SS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id gf17si2900638ejb.226.2020.10.28.09.04.39; Wed, 28 Oct 2020 09:05:04 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) client-ip=23.128.96.18; Authentication-Results: mx.google.com; dkim=pass header.i=@kernel.org header.s=default header.b=sqPiN6SS; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 23.128.96.18 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=fail (p=NONE sp=NONE dis=NONE) header.from=linuxfoundation.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S369094AbgJ0Q6t (ORCPT + 99 others); Tue, 27 Oct 2020 12:58:49 -0400 Received: from mail.kernel.org ([198.145.29.99]:47506 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1794400AbgJ0PLi (ORCPT ); Tue, 27 Oct 2020 11:11:38 -0400 Received: from localhost (83-86-74-64.cable.dynamic.v4.ziggo.nl [83.86.74.64]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPSA id 7A19921D24; Tue, 27 Oct 2020 15:11:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=default; t=1603811498; bh=uvecXbYCTZPped8G2lvRDzSBokW15fhQaFrKRnLJeFs=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=sqPiN6SS3GuRemyfSVX4hai1jUlzkMeb+8boLW0lw/eymrjK4XvPbsVwpjLmFI8f5 SsYrC25GJNY9zlmCJ4/sifCDFZfhHwpp2ElBDahIkSI2TSko9uGF+Cn6w+6dbSXhGq gAD3vek1zZ8AyMS2j+4stCIgUhefBxQWNJYkLu+8= From: Greg Kroah-Hartman To: linux-kernel@vger.kernel.org Cc: Greg Kroah-Hartman , stable@vger.kernel.org, Claudiu Beznea , Alexandre Belloni , Sasha Levin Subject: [PATCH 5.8 483/633] ARM: at91: pm: of_node_put() after its usage Date: Tue, 27 Oct 2020 14:53:46 +0100 Message-Id: <20201027135545.393729729@linuxfoundation.org> X-Mailer: git-send-email 2.29.1 In-Reply-To: <20201027135522.655719020@linuxfoundation.org> References: <20201027135522.655719020@linuxfoundation.org> User-Agent: quilt/0.66 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Claudiu Beznea [ Upstream commit e222f943519564978e082c152b4140a47e93392c ] Put node after it has been used. Fixes: 13f16017d3e3f ("ARM: at91: pm: Tie the USB clock mask to the pmc") Signed-off-by: Claudiu Beznea Signed-off-by: Alexandre Belloni Link: https://lore.kernel.org/r/1596616610-15460-4-git-send-email-claudiu.beznea@microchip.com Signed-off-by: Sasha Levin --- arch/arm/mach-at91/pm.c | 1 + 1 file changed, 1 insertion(+) diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index 2aab043441e8f..eae8aaaadc3bf 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c @@ -800,6 +800,7 @@ static void __init at91_pm_init(void (*pm_idle)(void)) pmc_np = of_find_matching_node_and_match(NULL, atmel_pmc_ids, &of_id); soc_pm.data.pmc = of_iomap(pmc_np, 0); + of_node_put(pmc_np); if (!soc_pm.data.pmc) { pr_err("AT91: PM not supported, PMC not found\n"); return; -- 2.25.1