Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp268924pxx; Thu, 29 Oct 2020 02:03:53 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzl4iDTrkhR6cLEri/H7WLe1zO9qGlmWjzh3U+GYKnFUCcLHPIHxiXKfhr4rdfZtUHxW+Ya X-Received: by 2002:a50:c01e:: with SMTP id r30mr2842661edb.176.1603962233308; Thu, 29 Oct 2020 02:03:53 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603962233; cv=none; d=google.com; s=arc-20160816; b=TKP26vqu+oVBoyoggmdUZ49Qam9LpPc/+uG6wYB2ki4z/mwxrSzr+jVMBDE8sLOJ4W onVzgVCb1ASGbxFbNc9VQkD1nfDTxa9hluwdPw3kIUD33vlRa1wV7xDAYc//g7e/W4w2 tXw09ko69Wol7upYk3Fdy0TdldOi4FrSNk1YS628VjnNvE9PzimV+MNXiMhJ5Y8haC3N Z0ApUH3OLdIeqOm86kRziwHiCyiTokY5JRQuQH3Se3MB4hKJAcHe6dMKt9Wynn/NuVTy TtJJKjVeJk7ubbs6bQxHxvHKW6lo/xRIOSBOUZtTPjhUCpNrHmaWhX7hcgZGxQztAxQG V5OQ== 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 :message-id:date:subject:cc:to:from:dkim-signature; bh=1Vpp+HUKX2G0CTRBW0THMyJXaRX90+/dwTILuzGEDZE=; b=JtcwEn99MvRcd2SOuEDb3wC5vUeuxp8NiQOsTFOsQx/mIfH4zwImJDykkhsFz5a+NZ FtuEhpJvbrJG1pGqEeiwOGl1jtDDh/l9wTh6vh4gA+z+uY3TVcx/DMa2RaYVZO4esQ4r 9q1JnbijdRZRyI1JCKQX3Wu4DZ3SR75naBUzorTuhWohbDIYs/R6YPJ31E5aX4Cyz5t3 KZp9D1AyRUCNWxZiXZ9dvSmRZQn+xazFjs02md/qRNYquBAzmQS0S3SCSfnLNGU28xt1 izd/8eHw1q4+nofqBqcUAYWT/6llIccRjclRlrEA3fgNECuMP/F73gR2R/F0WMKSnxSv DjqA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=RFrm1H8I; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id b14si1430053edz.568.2020.10.29.02.03.30; Thu, 29 Oct 2020 02:03:53 -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=@gmail.com header.s=20161025 header.b=RFrm1H8I; 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=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1730767AbgJ2Hla (ORCPT + 99 others); Thu, 29 Oct 2020 03:41:30 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58086 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1730698AbgJ2HlT (ORCPT ); Thu, 29 Oct 2020 03:41:19 -0400 Received: from mail-pf1-x444.google.com (mail-pf1-x444.google.com [IPv6:2607:f8b0:4864:20::444]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id E34A9C0613CF; Thu, 29 Oct 2020 00:41:18 -0700 (PDT) Received: by mail-pf1-x444.google.com with SMTP id c20so1631359pfr.8; Thu, 29 Oct 2020 00:41:18 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1Vpp+HUKX2G0CTRBW0THMyJXaRX90+/dwTILuzGEDZE=; b=RFrm1H8IQ/Ka9gT1ihvecXKUFg7s3ojEEHzdRnvfvM2oNlfjqHET5WldQJI3rstPAV Bp2f/KDX6pOser3HhHFx/0q+zInOPMSceUe4DTMk68/zIiBi/YaYXxaSvoT9aT8aOEEG uG3ee8f1etjIwERawtfdM6YkdNoLbKZF02YzrGyFROMm5dXf11ZhFqdTqT4vAg6lx4We GdRnszuyn77fKrn2PWnb9NNN0zkXIih7I4TN24zzQL8WtUmOpTxD82XT49nwkX2MpVge VSpLQVZRTrr1mkHUCJu6DrX6z97CYbRv+VQZji5IjDlGgIHtZKH9s9kRcee+QcRG68kD Dx7w== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:mime-version :content-transfer-encoding; bh=1Vpp+HUKX2G0CTRBW0THMyJXaRX90+/dwTILuzGEDZE=; b=epS8Dhmt9jZyjoM2rhumd5mLderdZU862otUl8vHcvgmR1cy9/tfc7C9oxdLMpkZ5F OiqOKE//WB8sgbNp/zFQ8XC8o9HY4W4atJCjVwMmeCZeRlU5iALDpAE7IPHmUrkY+bHB 4kLiqj20kOfWmDLEUhfZ9KaSXfuvadw1bn3E7wSmbmBh1YrDrb2Ojtt+/XKW6fgEPHyp fkaxaf8jpHdCq/qLSkfc74ZOayhEeriUOtvc1/2kSN6gi4YPBD61KWAKz8e2UQqeZdqh gq5fNkd/GHDK89AcKiDqFMMoM5rETGE374r71Q8QfwuFnSZcWAeUgjnmWVNRkKP661E+ pYWA== X-Gm-Message-State: AOAM5314hpD2ryLIQi6UOD/g1jLfHa0yWs112XVVkcVSapHO4xc7cJhy EQPR7rbXKjmjs/y7jVZdHS0= X-Received: by 2002:a63:e513:: with SMTP id r19mr2860126pgh.309.1603957278485; Thu, 29 Oct 2020 00:41:18 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id bx24sm1812198pjb.20.2020.10.29.00.41.17 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:41:18 -0700 (PDT) From: Coiby Xu To: Ingo Molnar , Darren Hart , Borislav Petkov , Thomas Gleixner Cc: Andy Shevchenko , x86@kernel.org (maintainer:X86 ARCHITECTURE (32-BIT AND 64-BIT)), "H. Peter Anvin" , platform-driver-x86@vger.kernel.org (open list:X86 PLATFORM DRIVERS - ARCH), linux-kernel@vger.kernel.org (open list:X86 ARCHITECTURE (32-BIT AND 64-BIT)) Subject: [PATCH] power: supply: olpc_battery: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:41:00 +0800 Message-Id: <20201029074100.225806-1-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SIMPLE_DEV_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- arch/x86/platform/olpc/olpc-xo15-sci.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/arch/x86/platform/olpc/olpc-xo15-sci.c b/arch/x86/platform/olpc/olpc-xo15-sci.c index 85f4638764d6..716eefd735a4 100644 --- a/arch/x86/platform/olpc/olpc-xo15-sci.c +++ b/arch/x86/platform/olpc/olpc-xo15-sci.c @@ -192,7 +192,6 @@ static int xo15_sci_remove(struct acpi_device *device) return 0; } -#ifdef CONFIG_PM_SLEEP static int xo15_sci_resume(struct device *dev) { /* Enable all EC events */ @@ -204,7 +203,6 @@ static int xo15_sci_resume(struct device *dev) return 0; } -#endif static SIMPLE_DEV_PM_OPS(xo15_sci_pm, NULL, xo15_sci_resume); -- 2.28.0