Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp268110pxx; Thu, 29 Oct 2020 02:02:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJy2AngC59JWH2RNQmuXv8c0WLCW9nLM6l94QxTpX4kk5key30jXG5ZbtBflrEz841xikL+J X-Received: by 2002:aa7:c717:: with SMTP id i23mr2844871edq.250.1603962171678; Thu, 29 Oct 2020 02:02:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603962171; cv=none; d=google.com; s=arc-20160816; b=q1cPYICdwQP9YDzhyyL8ZK6gqW1E16Y5g1leOjtgDCUOf7bb269nSyqrksSTR1sbsV D+Jo3RE5y1MTYuyEr/UrAgG1womfsrUCUBBX9nj88rdp07RD9UYAvMGYvv9aT9cmWI4c 1UeulP0z4P+sWH97shrrx5BirOLNr/VjvV7Tu2W+StVWHnAia/PaeSNa4dC5A7tj7vI2 fBRzsvowE7K+k7Bt+9pMhVgrbTy018Pta0gW88lsOXZZBC3w7+rRULRNtA/eavJOQYJx lekkfVjf7cYGdpZ543BbjbNTgTk95KzcxKHBMCmxEXPZO/HrJ6IiVvQmt6Sy6C4Jj+dk vbGA== 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=nVqH6ZdDZsxjhz6ACxTIa4F9n2pNeqLVCfy2un8GTaA=; b=jN0OlPtl/3z2ARtCjwpozbStdKytsIfwgL6IAxzATo8y+85XYa3H1y7ULHtTjBXImM G2MI2tc8eadBhAidEpe2sGIl4+m61ZwJBaRt7ZvTlezqeTENgFpiDaQ5/l7AL95blSCo jy8cbrazIOPv+EjPP9aBH+r8+c0X27cOi+oBC6ZzZ6V4X4LfuHgiyU/K3USNjFFO/U3i PPsDIXjNsGJNcslqyA0w5V8Pn8lICxN1s0G0Zn4rauNoyLkFrkSn1BG+Iztz9EgpOVs/ MCAFPouOAQWZ0Ko/Jc/7Oie9oiZi4n9NiBvGyEDA2MfyxQ1DKmd8awMSCfBBhQ5aqO18 +T6Q== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=TkJ1akdf; 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 i18si82737ejg.625.2020.10.29.02.02.26; Thu, 29 Oct 2020 02:02:51 -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=TkJ1akdf; 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 S1730079AbgJ2Hoz (ORCPT + 99 others); Thu, 29 Oct 2020 03:44:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58586 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726882AbgJ2HoY (ORCPT ); Thu, 29 Oct 2020 03:44:24 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CA5EFC0613D2 for ; Thu, 29 Oct 2020 00:44:24 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id o7so1656854pgv.6 for ; Thu, 29 Oct 2020 00:44:24 -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=nVqH6ZdDZsxjhz6ACxTIa4F9n2pNeqLVCfy2un8GTaA=; b=TkJ1akdfIG0oF27sYc+gc8WT0yjtsPijZW5V4jOCBNoMk3VeHalSL2CyeLWeT2FEL8 I6Q1Cj2eSEz4INHzkIZuePaC7S86drVW9TDaVxNS2PWkqc5eckuuAWzdTxpSp3yzfV6i 5nbuNAJQB5dSfCGWywWkWo+j36Mvdt1UpiDiLfGFEOCcX0PMKUBpngEqIKDSP06MtHQi 1FPCuRdZjfcV8VHzvRerkB6Kqq2D91okuEuDNWXX8nmXfVCMULqI6HcDujDqOqVEteqE Cov05UKf9ZngGAHfEGIljZ/T0AQcjjlzfX0zQwW1mv9SL5fcEx63QNS2Q0++I6J7gYVc VtIw== 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=nVqH6ZdDZsxjhz6ACxTIa4F9n2pNeqLVCfy2un8GTaA=; b=Qe0jyKthJU/9tZP2K6BRDmdVlwPOV0ZBaG9iBduybSoxgknAmbdEljE5pf9vg7WbvN HNyB8nNKs6S0uJVXZpjtKKa5DI3pquE6zXUukyWSI8zUH9r42KRERS7Gko5YKqg47dfN i+C9JxjjkLn31oMtbQ4Pnvm4XlJucHTGsPms2wCkrV4ZnF1b+TPcFJHL/CyI/wS4ftBC 51ieH1hln+bX6bgVGCch/QxiD++JalQ6JVxw9XAdZQs/28zHCzpoWrnxfPQxQDHvkFz8 zNvJ/szvqSyQNo0lLjI9sPB8VO/QNZFFtW9Xx5KH1zxNvL/UYc/UYfpqT/i4hGb1TDNH WfMQ== X-Gm-Message-State: AOAM532chqZBc9iGh83tY4MqZjIDdrOoop2O4wEg0IHTnNjWGFFJOkXI Zn9Z3Q7XnkZYZEgCHBmyfMg= X-Received: by 2002:a17:90a:784b:: with SMTP id y11mr2950425pjl.165.1603957464479; Thu, 29 Oct 2020 00:44:24 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id o4sm1855935pjj.38.2020.10.29.00.44.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:44:24 -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 12/25] ASoC: stm32: sai: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:48 +0800 Message-Id: <20201029074301.226644-12-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_sai_sub.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/stm/stm32_sai_sub.c b/sound/soc/stm/stm32_sai_sub.c index 3aa1cf262402..38dd7e30af1b 100644 --- a/sound/soc/stm/stm32_sai_sub.c +++ b/sound/soc/stm/stm32_sai_sub.c @@ -1582,7 +1582,6 @@ static int stm32_sai_sub_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int stm32_sai_sub_suspend(struct device *dev) { struct stm32_sai_sub_data *sai = dev_get_drvdata(dev); @@ -1616,7 +1615,6 @@ static int stm32_sai_sub_resume(struct device *dev) return ret; } -#endif /* CONFIG_PM_SLEEP */ static const struct dev_pm_ops stm32_sai_sub_pm_ops = { SET_SYSTEM_SLEEP_PM_OPS(stm32_sai_sub_suspend, stm32_sai_sub_resume) -- 2.28.0