Message ID | 20210415105010.569620-6-claudiu.beznea@microchip.com (mailing list archive) |
---|---|
State | New, archived |
Headers | show
Return-Path: <SRS0=z9KK=JM=lists.infradead.org=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@kernel.org> X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-16.8 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_CR_TRAILER, INCLUDES_PATCH,MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED, USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 907DBC433ED for <linux-arm-kernel@archiver.kernel.org>; Thu, 15 Apr 2021 10:54:09 +0000 (UTC) Received: from desiato.infradead.org (desiato.infradead.org [90.155.92.199]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 10A366117A for <linux-arm-kernel@archiver.kernel.org>; Thu, 15 Apr 2021 10:54:09 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 10A366117A Authentication-Results: mail.kernel.org; dmarc=fail (p=quarantine dis=none) header.from=microchip.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=desiato.20200630; h=Sender:Content-Transfer-Encoding :Content-Type:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-ID:Date: Subject:CC:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=f7y/cHzHK8oFp861pNsSNUBRcGZ822XnVbfOvujTg1k=; b=U3rS4rPFKpfg/EEbKJh7Jm7X7 lLPD7zvdwGPR5R3hP85GgfiLa/MdOvjDioizSlejs+F5VaP7J+8ThYbcCcz6Aj40IXDEqC4ielqVa wR9w3z6NgsreXXeE4QxTTJA9UZxwoH40THpRbwU86IlUQTBWoDyqnQ+KR9P8o0JP5V07FRne+UQmg x18Nyz0Z1by5zR30OFyMZsq7H5kVanon10ix9YKiYOH1YR08PWQGqjZviIGrz7d5CpqMQmi7h8T5P HYMs5eU7QABRTHESwKcOY4tlvMd4wXLkdxrSoeaeWDgMh+clXXmwHhsu2IJZSiy/25HkmQ+JVXCZ1 qfdN2wqGA==; Received: from localhost ([::1] helo=desiato.infradead.org) by desiato.infradead.org with esmtp (Exim 4.94 #2 (Red Hat Linux)) id 1lWzbK-00FnqX-Na; Thu, 15 Apr 2021 10:51:58 +0000 Received: from bombadil.infradead.org ([2607:7c80:54:e::133]) by desiato.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lWzaS-00Fnby-46 for linux-arm-kernel@desiato.infradead.org; Thu, 15 Apr 2021 10:51:04 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=infradead.org; s=bombadil.20210309; h=Content-Type: Content-Transfer-Encoding:MIME-Version:References:In-Reply-To:Message-ID:Date :Subject:CC:To:From:Sender:Reply-To:Content-ID:Content-Description; bh=VBLWIb3j/2sfaAjTtCEMNpxr5UFxooifHyHcw7kRyxA=; b=Jzx+uGuqJTsxEUahrTsRlDjgfV QQ1QIb459I/qG7JQt+EQqRXhZ9WlCwN0KiQjmNto9HZK7ss6ebdwBSAQNK6jGR59+oHrf/vIQUuQV bifq3V8PX38VgH+83Zy96FHCeNf8k5RMlJRHESSef5fZby/oywVpQi1IQdhBvamlyhAJnkpEffGDd HpbZ2tOYwLdAu/wP8DL03MUeh8V+VeAuPQX9/7fekwID6ep3zHeBNHo1qBuvmj8vrAqzjW3UciB7h yG+6Vm9EwmxFqwl5mQ2nbxdsBH/oypm8MbuXN5XlHinISPVnk+2Dnct0Ij4hHL9GDVaVmbtAlpTQS ZeEf601A==; Received: from esa.microchip.iphmx.com ([68.232.153.233]) by bombadil.infradead.org with esmtps (Exim 4.94 #2 (Red Hat Linux)) id 1lWzaP-008Uwk-Oc for linux-arm-kernel@lists.infradead.org; Thu, 15 Apr 2021 10:51:02 +0000 DKIM-Signature: v=1; a=rsa-sha256; c=simple/simple; d=microchip.com; i=@microchip.com; q=dns/txt; s=mchp; t=1618483862; x=1650019862; h=from:to:cc:subject:date:message-id:in-reply-to: references:mime-version:content-transfer-encoding; bh=U5NiENJ3r6pr7oIV8nUu7z5RbPOZH4Ba6WRiY6iI7HE=; b=v4qA26zxRkiBWsRb0cHJ0EueLTQCaf5NBemj1l8f9kjyG1pHekaXe8e3 gnfqpTr26rHeONuPAUWc8pSNabOvki0IOlvruqEdrrpPh30doMa6A3uFN i4fUnXo7PmG1ovlEJ3xG5LhyFk3LNLMQe0s+EoyYEFLgFsmprbZHq1o5e Sp8+xLktuysU+jkS2BYPyODMQ9tDOH4LYCGPw9bnEhBZQJrn9blVVFrAJ lOLv8f22EHVxnhl/HI4l69W/KNfn2qxW+zdvH6ctgIBcN9E3kOviPMqzn C+oeiD5FXIerr4U9t95ecV+bEmoqthi65nrEgW58BjALlGoqLCgukiORF Q==; IronPort-SDR: k5PLSCMzQjOdPWyacjx3G0teRYc/4/LJhoB0LDl1l3uxNL1thJntPEkkwT+VAetJZ7nEjM/tWH aIoZTDduKJhEeHW0X3BDljsrvld5TG2DF2JbEEqD/5kJgO+3bLn/oNwSgB47sAAtXzuPmG0ezf 2N6jJlANZbZWCv9DcvRXMhD4kMly6Nq2AsLfWG4Q0Br0byr5m7DfVtLQsgvsC67eaXHJWZ7cmA 1E4mLU6GGrGaxE0odnek9C7ewkI4T8YHjcmQJd6BHy5LtZjuhfAf7RsJHVRkh8HLMQJYazt5w7 6LE= X-IronPort-AV: E=Sophos;i="5.82,223,1613458800"; d="scan'208";a="116551513" Received: from smtpout.microchip.com (HELO email.microchip.com) ([198.175.253.82]) by esa5.microchip.iphmx.com with ESMTP/TLS/AES256-SHA256; 15 Apr 2021 03:51:02 -0700 Received: from chn-vm-ex04.mchp-main.com (10.10.85.152) by chn-vm-ex02.mchp-main.com (10.10.85.144) with Microsoft SMTP Server (version=TLS1_2, cipher=TLS_ECDHE_RSA_WITH_AES_128_GCM_SHA256) id 15.1.2176.2; Thu, 15 Apr 2021 03:51:00 -0700 Received: from m18063-ThinkPad-T460p.mchp-main.com (10.10.115.15) by chn-vm-ex04.mchp-main.com (10.10.85.152) with Microsoft SMTP Server id 15.1.2176.2 via Frontend Transport; Thu, 15 Apr 2021 03:50:58 -0700 From: Claudiu Beznea <claudiu.beznea@microchip.com> To: <nicolas.ferre@microchip.com>, <alexandre.belloni@bootlin.com>, <ludovic.desroches@microchip.com>, <robh+dt@kernel.org>, <linux@armlinux.org.uk> CC: <linux-arm-kernel@lists.infradead.org>, <devicetree@vger.kernel.org>, <linux-kernel@vger.kernel.org>, Claudiu Beznea <claudiu.beznea@microchip.com> Subject: [PATCH v3 05/24] ARM: at91: pm: do not initialize pdev Date: Thu, 15 Apr 2021 13:49:51 +0300 Message-ID: <20210415105010.569620-6-claudiu.beznea@microchip.com> X-Mailer: git-send-email 2.25.1 In-Reply-To: <20210415105010.569620-1-claudiu.beznea@microchip.com> References: <20210415105010.569620-1-claudiu.beznea@microchip.com> MIME-Version: 1.0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20210415_035101_836107_8140309B X-CRM114-Status: GOOD ( 10.90 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: <linux-arm-kernel.lists.infradead.org> List-Unsubscribe: <http://lists.infradead.org/mailman/options/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=unsubscribe> List-Archive: <http://lists.infradead.org/pipermail/linux-arm-kernel/> List-Post: <mailto:linux-arm-kernel@lists.infradead.org> List-Help: <mailto:linux-arm-kernel-request@lists.infradead.org?subject=help> List-Subscribe: <http://lists.infradead.org/mailman/listinfo/linux-arm-kernel>, <mailto:linux-arm-kernel-request@lists.infradead.org?subject=subscribe> Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" <linux-arm-kernel-bounces@lists.infradead.org> Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org |
Series |
ARM: at91: pm: add support for sama7g5
|
expand
|
diff --git a/arch/arm/mach-at91/pm.c b/arch/arm/mach-at91/pm.c index 5a6ce1d88971..65e13769cf50 100644 --- a/arch/arm/mach-at91/pm.c +++ b/arch/arm/mach-at91/pm.c @@ -659,7 +659,7 @@ static int __init at91_pm_backup_init(void) { struct gen_pool *sram_pool; struct device_node *np; - struct platform_device *pdev = NULL; + struct platform_device *pdev; int ret = -ENODEV; if (!IS_ENABLED(CONFIG_SOC_SAMA5D2))
There is no need to initialize pdev. Signed-off-by: Claudiu Beznea <claudiu.beznea@microchip.com> --- arch/arm/mach-at91/pm.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-)