Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp269070pxx; Thu, 29 Oct 2020 02:04:04 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyJvF0H37jGkmXvWvBFkMkftyJlk/LZhyYxe5ZYhYtIAU3pmVaQHl7HM5sVW01ulMo8hwrk X-Received: by 2002:a50:c01e:: with SMTP id r30mr2843459edb.176.1603962244074; Thu, 29 Oct 2020 02:04:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603962244; cv=none; d=google.com; s=arc-20160816; b=w7pdUyHvS6UsmW7EHHhNkp2A+xsxJxyW19v97dButTJsac3k6VDlE5HADSkYla+7AT SvkkEFg0HzZThJPIh1jYLej3oUJPnDF47fZhByujRHIWWhxWtUactBk3nEyFpoad7b7J kzWhgJZz/MQpNs66cxJ5HBIIW9y/V6+9jEjgZcyCRGd9Lkvdh7X6wIaFUKOTiGUG885A UWu4VYdibC4nxQMvKKp3AbeWNEkEKI2x6BRm1lTp9dHjIH+Grr0VbV4nLRSkPCB4R1Ta 6uoUvsQspowrKUun2B0ezQiRHraqN7mh1R+FxVY8kLWf1uyI+nQcfQ1F+ndTeujUuUc3 uW/Q== 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=xjj5xWJ9FV84cpQMmB6KMC3hiQFFHX6QXSYfK7Sl5ao=; b=YsnmAPX4qMoV07VcI0s2auqJ82VDPykjHkHSMy4QbpK4Is5UGd/IAX9c7eNAG6F0Vr twY/F48To1yTNVdLgPAgGuNDTg5osn87ZVdzaymIri7r9LRGpV0nUN8uJpfwqAHaXeac DVjAZSOo4Y8/QODrP4zl81BJ4pc7L+AXLRSDBKv3pBMTURSFmRnLAXbE4gFeks0o8hbj buJ5mAU7XfYgomSzzb2hOGg3JGjVW/WD1ivfj8Rp+UFb5doFq/jGaCY10l6uAf3wIqQ+ Q7mtysmyHwHtwPlxFMyRL+jd88m4YKVxH3xEVY4y6H3nU7d6ewyBogAU9obI84Khpi+d h9ew== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Hpu37JgW; 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 q22si1319205ejj.141.2020.10.29.02.03.42; Thu, 29 Oct 2020 02:04:04 -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=Hpu37JgW; 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 S2387536AbgJ2HrB (ORCPT + 99 others); Thu, 29 Oct 2020 03:47:01 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58886 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1733226AbgJ2HqK (ORCPT ); Thu, 29 Oct 2020 03:46:10 -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 053DEC0613CF for ; Thu, 29 Oct 2020 00:46:10 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id n16so1635023pgv.13 for ; Thu, 29 Oct 2020 00:46:10 -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=xjj5xWJ9FV84cpQMmB6KMC3hiQFFHX6QXSYfK7Sl5ao=; b=Hpu37JgWrjQxEt663nH8uB2W7ILKGM7z3qWFfZpgnrFEcFeIK3xA0HVQKLh9KN1ZX8 lHIsLEyPhyxIOJ+MBSD2Z84N7PqRxaK7sNQ8w71VniGjrOWPkMc9kcbKBojWUgS3//eZ YbWjZ2J3ssSKoU0kFW3wq8wl3SK+4zQwCVACHu9AqJH3heSnU+AdUSYQ+yv2kLTW/kqS 2WSd9YZ4ID400GWfQQnmOkabwZWpwu1kzJ9QDZZrkR11bW18dtazy4hOAi/YVSFcCpCv 9gamosSezd7HxtU8h+Py6VMH50ocQn6P5g5pmaj4s6rvu2Sk2yg8Yt7MSR/GjI6Qewlg dvMg== 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=xjj5xWJ9FV84cpQMmB6KMC3hiQFFHX6QXSYfK7Sl5ao=; b=OE37qWvEkj6t1cl0JcDtxiu31UhrN/l5bvWxH9kWFlqtoU8ubfJcm9TWhIfDePaixP 12Hh1wycaGlznu/jB/3SeEGlJIvChQOEGtYfiVogHYjrUpsrbixYdCeg2vl7dyHUOk0t vHML+R2teQPjOfCQovo1GE7q5ipzkkoYNGSdBcgYSiCUxtwNU71/KnVdVEDbrXFxBh9s ok4TKO/odZ1f3eVgBsTtLzBAia56L0YsiKbpgVmO/3gUlum2hKQf5ca09hMua5f8FrqY /qTo5ptYIxb60Jg84npZnQwWYm3xRIq+e4M84lVw1U0Jvu3SHhv1r4rdAwA2vD+mOk4J n2nA== X-Gm-Message-State: AOAM532VwUSxB/QNg0pPcNjfyfgVkOa/BZRq2QU+x8P+RcFOLGseWMIl A0CxS7vbIqjqPfh4yg7xBFs= X-Received: by 2002:a65:41c4:: with SMTP id b4mr2195258pgq.223.1603957569666; Thu, 29 Oct 2020 00:46:09 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id 38sm1564272pgx.43.2020.10.29.00.46.08 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:46:09 -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 21/25] ASoC: codecs: max98090: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:57 +0800 Message-Id: <20201029074301.226644-21-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/max98090.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/max98090.c b/sound/soc/codecs/max98090.c index 945a79e4f3eb..97175d7c99cc 100644 --- a/sound/soc/codecs/max98090.c +++ b/sound/soc/codecs/max98090.c @@ -2636,7 +2636,6 @@ static int max98090_runtime_suspend(struct device *dev) } #endif -#ifdef CONFIG_PM_SLEEP static int max98090_resume(struct device *dev) { struct max98090_priv *max98090 = dev_get_drvdata(dev); @@ -2653,7 +2652,6 @@ static int max98090_resume(struct device *dev) return 0; } -#endif static const struct dev_pm_ops max98090_pm = { SET_RUNTIME_PM_OPS(max98090_runtime_suspend, -- 2.28.0