Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp268073pxx; Thu, 29 Oct 2020 02:02:49 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWEJotZj/A7o12yyxfOATo8s4gBqTrdX7upsRp/UNPIrwdermuXsfrDhUzjFhgQD9vWlaA X-Received: by 2002:a17:906:ae09:: with SMTP id le9mr2895364ejb.425.1603962169366; Thu, 29 Oct 2020 02:02:49 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603962169; cv=none; d=google.com; s=arc-20160816; b=gKy8F//hbVcuWUl/O8RBvcPtqwDHST2I+M503gwCau1OfMlowFKiUf1SDMlntUPojh zJ9RjMDIZz+XMfP7YQP6Yz/hmzbz/885R3jagpJlo3hB5YG4V7e6n0+fE6iXFVKz/Ps8 uTDM1CH7Otw/qJB7Kze2OWroW4tWlf+oD6wtT6UfEcgUjr0CO/0sUjOZEPhpUCGNUOri 7pUwrkDGtyTLT77RY29ApUS4hesFWHgAnmPdu6mAunC5MZmDT4ICFq7XxxealiBo8Lm/ i8GmN3MypO+TPZtzP4/TWonTgpXdk9Y8CsqxWfryLqd2eK7UyBVFrB9PeGcdDlWlw4Xp NYOQ== 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=8jpXiCRDdVAzZIis20MTViXOEmD/OZxxv4T9W35au2I=; b=qyWprfwD8/9lPfm36axdaPxiriHprwkVwzB0FTSMPX/AqDeo7ru89OKf0C1K+HPt2d G30R6oRrUJkl+P0T3ZR1PoSQzTYPQHen7wWTh8f2QGgUD1CoQ9pP5b7dDaxrW1ZYVJZP GFXi7XUMI5IOrCWYOZDoc92xlH/DdTnwF8U2HdnpZOLRxafDj9FbYmppO+w0h2mAWGcR YmpduRSFisLo5y33uC9LRF8TCLc1UlsX52BAjo7xwEMagpqFIJiDWqj69RrIrozLB67B cy8zNmJYcucAg5ocYBa950loSJSgThwInHSVHtIm4eAYfNgl0mBXKo4JIvEpzgIvoqam vo7Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=WGv43752; 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 h34si1379002edd.72.2020.10.29.02.02.27; Thu, 29 Oct 2020 02:02:49 -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=WGv43752; 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 S1727316AbgJ2Hox (ORCPT + 99 others); Thu, 29 Oct 2020 03:44:53 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58602 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727051AbgJ2Hob (ORCPT ); Thu, 29 Oct 2020 03:44:31 -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 B6F30C0613CF for ; Thu, 29 Oct 2020 00:44:30 -0700 (PDT) Received: by mail-pl1-x643.google.com with SMTP id t22so890388plr.9 for ; Thu, 29 Oct 2020 00:44:30 -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=8jpXiCRDdVAzZIis20MTViXOEmD/OZxxv4T9W35au2I=; b=WGv43752G20ZWCFW2dJnU7OTDDBqJHnRjacRItawB/45pQd8bZo/Jo94pL+f8Saczs snbxfZ5ieEjYPt7HQFA8U95p6BXyibnyHeGLF60W19Wy0K0LWCIRD5IbNyGhMrY0Wn4q +KBqJyu9JK0mr/RAOQJPOadPRbaz6TUL1bWqRYqGlplmQARzkl+X99F3zKItG9seZeyh 0+JVpIl/+R+1SL+5v8GF01kxDp2UbJ+XpTmn6KVxc2XdzQPrIAi2vuIRHzGLMI51aLRh zBKU1vv/6fkJlRD87TIrBnW0fze3JjdKzvf4nkDTUl6ZN3OmGovDgDAAdQDk+dj2j8FK vtYg== 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=8jpXiCRDdVAzZIis20MTViXOEmD/OZxxv4T9W35au2I=; b=uLmYaD6OjTNoiJFy7IeUK5olnHggEbRlg9/KARMMQ5YzMhcbGYln4F2jDpDEaPVZes 546GW6xOsoUcdxFJ7L4VBPj85GIFwm61ru+68I2AHU3LMZYSRz/SvMDX3YU4ErfEF2te UvbliOu/OezEokB1BWMDEJ0CWGSsUnRezlx3lfR1O/H2ACvqaYIunwk3YOo3aAwrlhY0 sBECo4Fefv29b4t+o80SJRocuNEeVXgEIev7jM5RjnarKZ15edtivyqik+SRc1IosUx6 hOAac+frQ88ET0HfMGFoOMKAnfEeX6gg0TGWr0T08TRRnJaOmcMwyPfGcVHGTagAbdSn 5XnQ== X-Gm-Message-State: AOAM530Zabkw/pKeyW87syaQwkFk5p8pmI0QfTTJG/Xtr/acDpGuloe4 4D7csnWCRXN8/q5zvensB7I= X-Received: by 2002:a17:902:fe07:b029:d6:88c5:f5d5 with SMTP id g7-20020a170902fe07b02900d688c5f5d5mr2125554plj.63.1603957470376; Thu, 29 Oct 2020 00:44:30 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id n18sm1800059pff.129.2020.10.29.00.44.29 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:44:30 -0700 (PDT) From: Coiby Xu To: Jaroslav Kysela , Takashi Iwai Cc: Olivier Moysan , Arnaud Pouliquen , Liam Girdwood , Mark Brown , Maxime Coquelin , Alexandre Torgue , alsa-devel@alsa-project.org (moderated list:STM32 AUDIO (ASoC) DRIVERS), linux-stm32@st-md-mailman.stormreply.com (moderated list:ARM/STM32 ARCHITECTURE), linux-arm-kernel@lists.infradead.org (moderated list:ARM/STM32 ARCHITECTURE), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 13/25] ASoC: stm32: spdifrx: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:49 +0800 Message-Id: <20201029074301.226644-13-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/stm/stm32_spdifrx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/stm/stm32_spdifrx.c b/sound/soc/stm/stm32_spdifrx.c index 1bfa3b2ba974..40262ff0c588 100644 --- a/sound/soc/stm/stm32_spdifrx.c +++ b/sound/soc/stm/stm32_spdifrx.c @@ -1056,7 +1056,6 @@ static int stm32_spdifrx_probe(struct platform_device *pdev) MODULE_DEVICE_TABLE(of, stm32_spdifrx_ids); -#ifdef CONFIG_PM_SLEEP static int stm32_spdifrx_suspend(struct device *dev) { struct stm32_spdifrx_data *spdifrx = dev_get_drvdata(dev); @@ -1075,7 +1074,6 @@ static int stm32_spdifrx_resume(struct device *dev) return regcache_sync(spdifrx->regmap); } -#endif /* CONFIG_PM_SLEEP */ static const struct dev_pm_ops stm32_spdifrx_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(stm32_spdifrx_suspend, stm32_spdifrx_resume) -- 2.28.0