Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp269781pxx; Thu, 29 Oct 2020 02:05:08 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwJR40yaauv3V8DwhmW2FewrUKtQKLdL2yDBsGP18wKltUYpEwTm2pK9GFKds4nzDNRSQlN X-Received: by 2002:a17:906:1494:: with SMTP id x20mr2887409ejc.339.1603962308596; Thu, 29 Oct 2020 02:05:08 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603962308; cv=none; d=google.com; s=arc-20160816; b=vzA6/aYi/BBi8rp7v97EtGd6DkSl6kMfyRpfZkOjOFFbZtH9jSSgdUlsAGh71KgM2C r3AwnI+iDI1CVCCOcgRQGoVmmiExITB2TsOGmzVgdcUN8P6kk4XAXRiI51/0vXzbcEqA rct5ENCXQFTur3TYF8bB9ZMfkrHw9HlYtJdBhCJK52l6Z3wdkXWU/lkSRRz9F6MRZqId ILG0J6ZKCu/8zVtgu8hx/oUDHUM6piDaCOmc0rwpAQKYrQ1KHmVDBmpexqb+32kEt9pP gz8yokgTB52fnrB1/Msy5tzBQyiUiyYZJKnWn15jBigs2Zmli2JVkANGSXME9DDxCEPD Souw== 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 :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=hgMIOmWXJ9K7HGBgYjrpbZiO//zL6oSGlqytPgNqLQI=; b=ASKvuq+6SCq1mTCGL2qIjomPN23EOpDWkWl8WStb5gbgsXYhJvBuH6a5opqBngB+J4 9k0kTB9P5/9GSVBLccz8+xDPbWldovmbI7yuU/ehiWsMWJ2ySvQydq64yH7L3jWDgX6S axyVN5WkNvTRG3QWNx0nitabUbdqFyXw+8mw71txISGpn3p85SPB+NFW7OoKqGrb1Vwp EtfFHYYP8f6k6qKZ6sI+6vxeSIMeVbHrXs4vF5UZ1hqwZqzapcOOJGjGmF8cA+orEezx jZN1Zm4otj4DAov7OVItDRFJJPh4uYc9SwK0Du07HiXd9Tvs+hJL69yrVRdbVbiwoOgD QFtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=la+EKPpO; 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 x3si413790ede.333.2020.10.29.02.04.45; Thu, 29 Oct 2020 02:05:08 -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=la+EKPpO; 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 S2387441AbgJ2Hqf (ORCPT + 99 others); Thu, 29 Oct 2020 03:46:35 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58940 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S2387434AbgJ2Hq3 (ORCPT ); Thu, 29 Oct 2020 03:46:29 -0400 Received: from mail-pl1-x643.google.com (mail-pl1-x643.google.com [IPv6:2607:f8b0:4864:20::643]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 04FFFC0613CF for ; Thu, 29 Oct 2020 00:46:29 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id t22so892560plr.9 for ; Thu, 29 Oct 2020 00:46:29 -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:in-reply-to:references :mime-version:content-transfer-encoding; bh=hgMIOmWXJ9K7HGBgYjrpbZiO//zL6oSGlqytPgNqLQI=; b=la+EKPpO5ct1LEVZzBW/CKbqNSoVB9EBbcTwNa8NqrRac3AeP3kR+Dk/aBG6reR1h8 xjiNL7vgYbwfYhFetVIBRpoRPF5F3j8/+ZZjBxK++c82j1WsfQ5FOC1xL+J2zt3vP0aT +pA/adDZonS2lInCajm5fnXbXXfU3Okg3FAjaZuXP5h+4dDL7wGeDG3Bgp0cqSd6Qvb9 EU/P2/ga305d8J7R232rm+2FwBTx+oAuPlV5TSFXL0NbITEOOe1vNlpSJfdvh+H2WNes OFWmki3fx22iiVPzteIEbxAFlsFni476OFJOHllXXDEHpu3896MowAloE45R+0uRQJBM ZByA== 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:in-reply-to :references:mime-version:content-transfer-encoding; bh=hgMIOmWXJ9K7HGBgYjrpbZiO//zL6oSGlqytPgNqLQI=; b=fDsh0wWY6unsW9EbWIu6x4OYCyTrVKq0FDpKMteXJ979nRQoJuYA9fmgjL3r0wGe2H RY5bHrwDkaHbNSeTOzc+G7+iex0v5hLEKfHPEwbJD70EyZkGaJ0X8nkpueCiHaF8HESj MzxFk/nqHrzEYev3/ear/mTGX86CC8aIehknXb+kWB/Ldxyhd0iF7YWrrSoI0hidUqKf 7JRdZYjr9Jt7+AzwbTj1100KuA9550HR7vdDBjNbfE5f1e/I/bidFQuYetarMu8zOLkg 3Eg7BvwKTBBk1Teu+AXdtek77edwaWIHEgIZuTSQxv1Zr79/pLxPy2BEOxD+VsqphgCZ 9JdQ== X-Gm-Message-State: AOAM533rR8yoBCRe3GmXwuc4BwEgTtuENWHgiTdtm3YzTMq20n8cfDIB Oqr66VBkYsgeBPvheskzDNU= X-Received: by 2002:a17:902:ba98:b029:d6:6b56:7131 with SMTP id k24-20020a170902ba98b02900d66b567131mr2897800pls.9.1603957588657; Thu, 29 Oct 2020 00:46:28 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id z3sm1852081pfk.159.2020.10.29.00.46.27 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:46:28 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Cc: Liam Girdwood , Mark Brown , patches@opensource.cirrus.com (open list:WOLFSON MICROELECTRONICS DRIVERS), alsa-devel@alsa-project.org (moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 24/25] ASoC: wm8994: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:43:00 +0800 Message-Id: <20201029074301.226644-24-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074301.226644-1-coiby.xu@gmail.com> References: <20201029074301.226644-1-coiby.xu@gmail.com> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- sound/soc/codecs/wm8994.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/wm8994.c b/sound/soc/codecs/wm8994.c index fc9ea198ac79..9294ad06f76d 100644 --- a/sound/soc/codecs/wm8994.c +++ b/sound/soc/codecs/wm8994.c @@ -4656,7 +4656,6 @@ static int wm8994_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int wm8994_suspend(struct device *dev) { struct wm8994_priv *wm8994 = dev_get_drvdata(dev); @@ -4681,7 +4680,6 @@ static int wm8994_resume(struct device *dev) return 0; } -#endif static const struct dev_pm_ops wm8994_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(wm8994_suspend, wm8994_resume) -- 2.28.0