Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp270684pxx; Thu, 29 Oct 2020 02:06:26 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySHJeP/sw3AEzUt+fulnOAwU4Ay8cyH3q7ckuTz5qsuETXL89n0PiQE6E1rIrh2g+YFwoY X-Received: by 2002:a17:906:c193:: with SMTP id g19mr3127483ejz.393.1603962386562; Thu, 29 Oct 2020 02:06:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603962386; cv=none; d=google.com; s=arc-20160816; b=zb38EQuFDQS5BS7ZUM3vQyrUofsBFak3pUbofA5O2HEusIGAuxq1C5wJjIy+xPYXRu fBre0AoEmFeQkxwa/nUBc2qNIE8Qays+21VdYImkFl68OiKncS2jEYHtWT6qP5Gd6V6e unbKZF68spoD8oY+JZg079L3RWgbSG3WAXQ9kzu8XM9T++CIdZBmKg/yyAJXaNi2f8n2 DLXKZ4lDsTEpA+F/RU5SNpBfWUdJ8xw/8ZnhiVQ2z/rWa0l3ds5pDNBKe3peya+17ozL GybiRAjG29e8eZ8oFmNOuYdcLA5XTwtQ2h9Jgb6D0phcz3kCXFvftZiuncxW6nWT56Vu DNUA== 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=tubacnQpwB3/W2PhhRu24urvA3DZqPuQW1vT0viMV9c=; b=bvYuq1vaEQY1o3Mw2NjOs9ZrmO/oTIGyV5EA+A4x8qySLyiseA7EswWWeDBVqwbiFy E6/F0ohB3D5vguk8lLGiK44Dc8FA6JgEPbANgR/QV0SMMdMRKdsRQgnYCuPzvvpY+MXk gqotVDN1HF1nwfL2sYcq26GHD28YVnaaPqdPVCbljYXWyfShwpdshuN1NCWOLKpZgQpY KADcxKPFNaVWQUe/fLgPTWzUoFj0M8dTKSNYkTTpbAsQ6JbYzAYCC4GRU2Ix01fMt2K5 SbSptx48IniEiM5KGQN3X+HRYvZ7zRHjX9QJv8SNATJazBmuxl21YF3sBu8+s+HQR8Q5 5TcA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=qelMKJ2W; 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 e15si1411469edm.536.2020.10.29.02.06.04; Thu, 29 Oct 2020 02:06:26 -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=qelMKJ2W; 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 S1731339AbgJ2HuV (ORCPT + 99 others); Thu, 29 Oct 2020 03:50:21 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58438 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731374AbgJ2Hnd (ORCPT ); Thu, 29 Oct 2020 03:43:33 -0400 Received: from mail-pf1-x443.google.com (mail-pf1-x443.google.com [IPv6:2607:f8b0:4864:20::443]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5AE4BC0613CF for ; Thu, 29 Oct 2020 00:43:33 -0700 (PDT) Received: by mail-pf1-x443.google.com with SMTP id 13so1650257pfy.4 for ; Thu, 29 Oct 2020 00:43:33 -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=tubacnQpwB3/W2PhhRu24urvA3DZqPuQW1vT0viMV9c=; b=qelMKJ2WSeEmQYBOX1ZKDe81Ga6Ri3W0Vyv+XB3IPPvJcxS32qo9MAPakdGNGTBBbq zrqOzulmZraX3Q7qsRKvDDYFQk7udvuSECmgQJGPxjaJ6Dr+7I+ILcb+r8U1KjI8UTmf qxc5S4bAEM1nkq0i7esFIzTiCzQOfn0OVOaxCogYvzwU4DGlF/Z9ok/mfJXLwovnkcZ0 3C4yEoqwfNwBYF6tlPYKL63YLgSKl5BnMVy/m82jOBhOcCQ1eL7fINId/h/LLGtWaYUW LErPqdvsFq6LiV/7vIWgSrlgaxcgFLkvhhD1mZlYPmchGJHRK7ThN521grVT1fGzcAz4 kvtA== 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=tubacnQpwB3/W2PhhRu24urvA3DZqPuQW1vT0viMV9c=; b=TYzhOpUhr4ugcYCpFysCiiDnCftyAKIQij4Yy9BlxAJaomfxEHO0zJSSlAHdAlUZsc R/dILHvy4uv6goRbQfMYhvNjAD1az301XiqQ+ReBboA48GCZvftc52QxElaabSAw5Kdk drCfUPE4V+BXaD0VNFdxsYcXdO8HivjYye01VKhuBET1oQP7YvMvybXKan8NFXhixe7z RpCp22a6Pn+M13tZ46Gxlb2JAf999fGd4L1si8ZBziY0X5sOJaxVvhOXDMiE5oEupt4m 3lGamlELJnsO4lpppas47i9rdmMDfXRo++eVOF1pTPlCP/PoTLydjV8LwGa74CX+Q95g 9+Gg== X-Gm-Message-State: AOAM530WLGeQVQiNZRopV4CWzx0hIXhm08hY3xqkgth7Z+2Pl9lqLmJz 6cTrofkS5Uw/ypiNQvqg24k= X-Received: by 2002:a63:7e4f:: with SMTP id o15mr2971579pgn.428.1603957412989; Thu, 29 Oct 2020 00:43:32 -0700 (PDT) Received: from localhost ([160.16.113.140]) by smtp.gmail.com with ESMTPSA id v4sm951756pfm.57.2020.10.29.00.43.32 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:43:32 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Cc: Timur Tabi , Nicolin Chen , Xiubo Li , Fabio Estevam , Shengjiu Wang , Liam Girdwood , Mark Brown , alsa-devel@alsa-project.org (moderated list:FREESCALE SOC SOUND DRIVERS), linuxppc-dev@lists.ozlabs.org (open list:FREESCALE SOC SOUND DRIVERS), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 02/25] ASoC: fsl: fsl_ssi: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:38 +0800 Message-Id: <20201029074301.226644-2-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/fsl/fsl_ssi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/fsl/fsl_ssi.c b/sound/soc/fsl/fsl_ssi.c index 404be27c15fe..065500a4cbc1 100644 --- a/sound/soc/fsl/fsl_ssi.c +++ b/sound/soc/fsl/fsl_ssi.c @@ -1669,7 +1669,6 @@ static int fsl_ssi_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int fsl_ssi_suspend(struct device *dev) { struct fsl_ssi *ssi = dev_get_drvdata(dev); @@ -1699,7 +1698,6 @@ static int fsl_ssi_resume(struct device *dev) return regcache_sync(regs); } -#endif /* CONFIG_PM_SLEEP */ static const struct dev_pm_ops fsl_ssi_pm = { SET_SYSTEM_SLEEP_PM_OPS(fsl_ssi_suspend, fsl_ssi_resume) -- 2.28.0