Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp269931pxx; Thu, 29 Oct 2020 02:05:23 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzirBy1n4nNTULriFuRXok3gbRGaGwOuJ4hUo1VLzz+6+DKJlsu0t8AUnQzFApoYW5JaAN3 X-Received: by 2002:aa7:d4c6:: with SMTP id t6mr2790398edr.372.1603962322821; Thu, 29 Oct 2020 02:05:22 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603962322; cv=none; d=google.com; s=arc-20160816; b=XQmtPe51JiWNRIVjaj8lqlORvGwD+j+ZyItp1kTVuPLvptehVLY7ND6XFK/VfcLyPt K86p4ufkb+Yc+fn//YEI6paDLYEvRlDpYRKt7z7f4camvlaV6ljApRBhhqw5udRDaU1z Jw+T3fT6sVjw/lSulYNUGKWylmeREi8sHT8pVpIkhHYsn9DY9G3JZmZXxrplZANgIz6F wdqGZQaOil68ue8RH+EgO4Ta1wR+SUFNo8KXOvETmS1Ku4YPHSjzLBsHT3UR9Qw86bpy B/ytVFoVuyaYrR0ogP2VEohsC/76sxPLort4XtIq+WQp9rWRRa3mHgcmXf45Wehdm7iD 6ctQ== 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=lZ+bCLUPWFW4dhgVkM+HvetJi7WpGsivphFjqhZjB18=; b=00F/NTt+7RNx/3PWM5G+N2ULq70ua0cgzVLLWgrgXxZolt1AFSCVSG9rXWAKiOaPpQ kqm8GhoTum32grrqAvYc6EJlDWOK9pMMI4pTPud/aGAe21JcupYUelbBdp+FsAH35ahb WvErZ50cNEW7/UE/+4bdFhPPxsd5miaG0QvMeoKBqx5yQija8c0F3hNXBhm/t+ygMfnh 4JYS7hkD0Ub45VSKG899zgUy4XcHnvWiFvuH+p5ZOzxVE1891LfrzuGlFIZCPWx43xBr tWEgX40QtbGGoOm6CqWeVWBG8lOFpYUZbnrW5DP9YwoMP+pXPqnCwFiu4sw9RTX1kozh 4gAg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=J6Pse+8q; 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 y22si1484677edt.51.2020.10.29.02.05.00; Thu, 29 Oct 2020 02:05:22 -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=J6Pse+8q; 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 S1732796AbgJ2HqA (ORCPT + 99 others); Thu, 29 Oct 2020 03:46:00 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58818 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1732734AbgJ2Hpq (ORCPT ); Thu, 29 Oct 2020 03:45:46 -0400 Received: from mail-pf1-x441.google.com (mail-pf1-x441.google.com [IPv6:2607:f8b0:4864:20::441]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 84EF7C0613CF for ; Thu, 29 Oct 2020 00:45:45 -0700 (PDT) Received: by mail-pf1-x441.google.com with SMTP id j18so1668980pfa.0 for ; Thu, 29 Oct 2020 00:45:45 -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=lZ+bCLUPWFW4dhgVkM+HvetJi7WpGsivphFjqhZjB18=; b=J6Pse+8qTJnodLorMXhsLMbxAUsZqi6tDRGHyvRXfxKQCWDh2jC/bIDV11ZL5Bw/3Q ARowBURGJUnIK+NKb7hNvjieet9WHjE1K4Ab2sMAVamYFbwjozMn86+Zo5hJQf28IFYK VRFnzPyydM0zp+FfX9Dv7ntSvGEF1sS3/MbJCbZDgjPSPFbhuqdHCyQKfB0adogZqfW+ oefhCIo1ErN/lKsHP9sgQsUGRO3F4ROzewcP786E5g0hrkYaHUTEekyMU2dRxZ4Wz9/3 jrO+eHEt0KjhdaJ2eAjx+MqoHGCM76zKG41hYs6vEfZfILGuV+V8QQFDjfAgqOUpcpdf i53A== 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=lZ+bCLUPWFW4dhgVkM+HvetJi7WpGsivphFjqhZjB18=; b=aSRB7x605fGY6ZzEii6eM/26VSV6Pzhxdri7LZjiNhiubWuLv/P0K0od7eaTjUzXrK QriN7bdFX7kVLnw7Az1prUoKg9Ickfb0AuFy8ceoWzbYd7bVR0ssaMuGsnOXebilJmoa 55pOjrc6QdVBISGuUmjgtdbdtLGKj4RQiRfkLgNTpXlK+7xQedBIiRYYZ+0rRMHNLQ/J j0b7x+5c/fJ6KZRuneGpW5dKkeFG05Aa9LuspCewdQiZXp0YZaZTBVQUEIseDQOPx3zk uPZt+bEPOJ4rWhJs0ldJODEJhcG3jWip6G8wxOyTowj8O9IU7BrVaDgLCT8mz4srGtzN EiFA== X-Gm-Message-State: AOAM533bO39FV8gU2JFJq1cOVVcgyeKNhSRCVtO9h6LMh2SjPIKg9Joj HMe4kckb3tfJRO6bOMsjEIs= X-Received: by 2002:a17:90a:1189:: with SMTP id e9mr3139594pja.124.1603957545181; Thu, 29 Oct 2020 00:45:45 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id y5sm1665220pgo.5.2020.10.29.00.45.43 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:45:44 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Cc: Liam Girdwood , Mark Brown , alsa-devel@alsa-project.org (moderated list:SOUND - SOC LAYER / DYNAMIC AUDIO POWER MANAGEM...), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 18/25] ASoC: codecs: max98373: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:54 +0800 Message-Id: <20201029074301.226644-18-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/max98373-i2c.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/max98373-i2c.c b/sound/soc/codecs/max98373-i2c.c index 92921e34f948..f847e7e76635 100644 --- a/sound/soc/codecs/max98373-i2c.c +++ b/sound/soc/codecs/max98373-i2c.c @@ -468,7 +468,6 @@ static struct snd_soc_dai_driver max98373_dai[] = { } }; -#ifdef CONFIG_PM_SLEEP static int max98373_suspend(struct device *dev) { struct max98373_priv *max98373 = dev_get_drvdata(dev); @@ -487,7 +486,6 @@ static int max98373_resume(struct device *dev) regcache_sync(max98373->regmap); return 0; } -#endif static const struct dev_pm_ops max98373_pm = { SET_SYSTEM_SLEEP_PM_OPS(max98373_suspend, max98373_resume) -- 2.28.0