Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp269112pxx; Thu, 29 Oct 2020 02:04:07 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzi6j8Vq6FkpLg4Dh4gZNIV2tWu+4+T/16pttul2xXkmTCoS4Ey1/cpzG8Ho4YHtOM36MwT X-Received: by 2002:a17:906:d285:: with SMTP id ay5mr2991936ejb.84.1603962247426; Thu, 29 Oct 2020 02:04:07 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603962247; cv=none; d=google.com; s=arc-20160816; b=VMGoki9oN73T3tgOxy4UnK/EHFaGIy/cteBwrKXUXUCPVpALpcOuQcDC9Oq8ycsWUB 1NLw4keWbw2uHfooahIXRHG2Xz+JdPa4qX1PBO3yguSgd54aNIaRIU+8bMS/qDoZfUIe 2NLZq9/01CWpz4m9XJjBXWnGvKIaYccrdutvv7WtIkuNOTluComgszJivbMWYSjx/Q9b jFJ1yGqMHBfMvly7VR6Jiy6lfQKukyiP68x8CykfEdqvwdrKqP4NG+Q6+6VWxYloyMc5 Q5+nhtqswq3IsYKNgKPLLdY9ZSGzG4VLrg6f9w21XugyJefCs97xjqT9HceKnb4HNA8s koHw== 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=2f76QX6KjllBHRbyn8bbNM8MHRGSvgg1fTn2FXp9kIk=; b=FSXpE+QuP9L0/isrHm38zdj511HnZ1IT/k/9FsTxBdZ70418/TbayIFgVHPAwdqmVn tmiGa6/XrJsdDHM954q/0OTnRS3AIF8DtsMIT7NUv6TczjwUw/CI0hyO9brGPoKd9tpw XcYjf7oK2Nl0K/OgZ+mbK/aZfRE94OjRe8MRmdTsHu6sGp6V8fcpe5sNephgxPa6km5H lfnYeejGnnVNKJiVzsahrEr5fJip6tnxNScqcXA1Oc2Ucy6r4GpAkdTsGzE9O5kQKwny CZ0V/yv2mmJhLsDzDpsye7Anv2y/wVhYS2K8C5eRqg5InMQ6lpUo9GLAiw0GmDll7JOZ 3QMg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=MetyxOei; 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 ec19si1300061ejb.669.2020.10.29.02.03.44; Thu, 29 Oct 2020 02:04:07 -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=MetyxOei; 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 S1731760AbgJ2Htl (ORCPT + 99 others); Thu, 29 Oct 2020 03:49:41 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58486 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1731764AbgJ2Hnu (ORCPT ); Thu, 29 Oct 2020 03:43:50 -0400 Received: from mail-pg1-x543.google.com (mail-pg1-x543.google.com [IPv6:2607:f8b0:4864:20::543]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 3E954C0613CF for ; Thu, 29 Oct 2020 00:43:50 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id f38so1663863pgm.2 for ; Thu, 29 Oct 2020 00:43:50 -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=2f76QX6KjllBHRbyn8bbNM8MHRGSvgg1fTn2FXp9kIk=; b=MetyxOeiFIfccE3es6OdzGpM16CvXTlwFUbayjCo80V8vzGg71aanERZA/rSMHq57V yDaqdUwD8D3Q1atgb5CdG3c/XcBhaR3pDGlRd+WP5J942NshDkLWwPYlPY6Y8Sbffc1A ftOwJdlht0Fak+gTaqd+TT0+s5qzDf3KzUuyvWM+EHSOjr2/Ymvn+dAgVWWWK2RLCCMh fvlQAVgXt7CekrChkpBJDv4panvHeF9QwK070Erpwrx3KMMRSEaTiLMqn76dEt2BBCWX 6tl9TWzUT7aHkNeTYFDKvC1A1Vvbj4oymVa8c2iEa0Kc83CBRQtUv1LmRKGV24uUfOCT s7cA== 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=2f76QX6KjllBHRbyn8bbNM8MHRGSvgg1fTn2FXp9kIk=; b=dwEY6QYrfdLfjh36ndDeUNlPH35YxY7hgFE9W4vPAcFYHqBrWxOxrLSX4O12fUtSZk iTNaxEw1xkExT5cYk8PoSfJWPmEpjsf/9uETAfrjsJpzTU8YyWqu2Qd+QDGv9/5i0TNQ KiQOHLShMcJSOQVC9GCLBFdic+i+jzMkQlqSABfBaTB9mOtXMeOAxswKBpGn3pEmS3cG gOW1bhE36EYK9GOyQB/SKo+PIq32UtrgCoOubmjKDzHC2CobHuGK6yjr4B4PmAN2U6m0 c3crI/8o/9WO6TKHVDiEnsTH8MlU6F5mgXJw8PpOof6Ql4W0/aOFBCryAludmjrSKWzC HiYQ== X-Gm-Message-State: AOAM5334Ixoq3WOR8CArGmDpqzhGFnvQtSfDVfp5n+bHGXFM2RE84z7H aRdu6RW5hYK7AR5LspvoYX0= X-Received: by 2002:a63:7d49:: with SMTP id m9mr3024402pgn.60.1603957429902; Thu, 29 Oct 2020 00:43:49 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id t9sm1569687pgp.90.2020.10.29.00.43.47 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:43:49 -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 05/25] ASoC: img: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:41 +0800 Message-Id: <20201029074301.226644-5-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/img/img-i2s-in.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/img/img-i2s-in.c b/sound/soc/img/img-i2s-in.c index 0843235d73c9..8364eb9c44bc 100644 --- a/sound/soc/img/img-i2s-in.c +++ b/sound/soc/img/img-i2s-in.c @@ -545,7 +545,6 @@ static int img_i2s_in_dev_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int img_i2s_in_suspend(struct device *dev) { struct img_i2s_in *i2s = dev_get_drvdata(dev); @@ -592,7 +591,6 @@ static int img_i2s_in_resume(struct device *dev) return 0; } -#endif static const struct of_device_id img_i2s_in_of_match[] = { { .compatible = "img,i2s-in" }, -- 2.28.0