Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp268431pxx; Thu, 29 Oct 2020 02:03:17 -0700 (PDT) X-Google-Smtp-Source: ABdhPJyOEdIPD8Gkzl5xKQ3FkDorCbOHavTh7wayQi7JqJ7XdCg2MzNqXbi2eS4aW1JQc/uqFtrF X-Received: by 2002:aa7:d6da:: with SMTP id x26mr2866524edr.238.1603962197627; Thu, 29 Oct 2020 02:03:17 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603962197; cv=none; d=google.com; s=arc-20160816; b=0apgmNmkJ92kMgPPlaFct2UtS+5ag+ymwVoZ+DfV89AZU23g7g32Dxxj8h9NEmPV3S aO87wf2+qBBHc5ZLW69DdWmIeYj7ZrYmdONjOAOheMp9/cneQUWMsedU65MqH87m2SnK 3WcETiOU4C+4FuTMhboPOaTt6HoNUPTJD+ii/wx802EyeCOzrZ3vPq/3vLdtnKHI/I0n aVOKk50vWZHmTArbvreYu56MFAhMoCS5IqXgoRyAzFaEczmzpuT9YtA7Etsyc1xRdw6/ I9dJ6IrBRljaa4a+LenZNvcJIjg0niC56+SRI41S7vv910HB8ZEYwqofRFd6ECYiq1Wr +T7A== 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=+fK2OKGG4p6bBRTtmFHio3t91tYIgqc0DsdsIh3WcuQ=; b=bncfeHi0F6GFuUYWoquPvQyBVBbY0o9y15NRfEXSXTfGkkycOoOqKMfG1wtjnNr42x aLyukvcUERPRvHoIxD4wGH/UkK7SOnOgo3ZGCdfkV7ObQ/47c6XQUDyUhYMf7QbyXIzT W9DCCNfnr0WF2UauQnwT1Xb/zk6hqUNxGOr7GPWUU42j1xCjFhAiL3CXWVFdBGaCJHUe MmPVZNDD6V5YHqBoKPZHSTNuiVqvU8XCsooSt90YY1b3QLGFmWSasM6j2Np+GTcgV9qD w+0FudZhbkb3V9D/uyNIKc2OabzX2qU/JKxZyd4iJHe7J1XkYQgkf+S2Hk5ncKJybOUO 83sg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=fwqb1spm; 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 q15si1655886edi.432.2020.10.29.02.02.51; Thu, 29 Oct 2020 02:03:17 -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=fwqb1spm; 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 S1733245AbgJ2HqL (ORCPT + 99 others); Thu, 29 Oct 2020 03:46:11 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:58872 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1729590AbgJ2HqF (ORCPT ); Thu, 29 Oct 2020 03:46:05 -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 55185C0613CF for ; Thu, 29 Oct 2020 00:46:05 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id g12so1648801pgm.8 for ; Thu, 29 Oct 2020 00:46:05 -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=+fK2OKGG4p6bBRTtmFHio3t91tYIgqc0DsdsIh3WcuQ=; b=fwqb1spmwvHpmlB/d75reyt5h4z8ocPuPqiM5mdXJ4T+5K5P3vH0oGF9ARZygflH/n U59mds2tnw0KPqvD29hNFDxSwvdfFFSzpCI4IGontMbmIKSaxNNPCF4tw5aoKCQUILjf N11tN+SfI+XP8CxhR62N6F6+XoeJUE3do3F09QQSOuiFikVLq24Wwp3noTJuy38yAECR IgVSb8K4cMuuvyYHHNiJ6exSrBlwaRDuAjY331AnzGIoxHudk34o+2Ox6ukP6llzNVRs URWyEEeBofEw8Yte+xw7m/TpGD6vxdNPm1tNJRbdBV+5Jb9Gj/ApIa8FsuMTAppW7g5+ d9cw== 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=+fK2OKGG4p6bBRTtmFHio3t91tYIgqc0DsdsIh3WcuQ=; b=iOmXWpzseidpy8GEQlCiRrH/x5e7wX1JnHtnKis8zJzeGTwR3FX1FXt15hqeljcf11 BX6mmgR34/do448ZgxWl6K5JV4w8WdJJAhFkCmKF0SyGxiC5GcUBrocAWwG2qtASrH1P +6pXUT69fdY+pr6JEOhljMqzFp+/8e74eAXFq4JU5q6/WlcgTacx93/SSfI/Oe0ktmTr J1y3ep2nF38OssY9rk73xEAWBmuLqA1UncXa5SOTVDz5XIsNbiCaq5X4cMLJaz+RFaai pJOHXDG4vavqJ67ZbMFFdsf1BjthBOl9KaXpr87DhLKQ81q2e5kax7DL2gUZS2WGJZm3 4yGQ== X-Gm-Message-State: AOAM533/goLJshfO9LbxAhO2mkCiVBkiGkVIl0m/pSfSMnYeHW6VmmO3 m1mEj9d3PHw1FJZgatKzUFk= X-Received: by 2002:a17:90a:348e:: with SMTP id p14mr3047577pjb.75.1603957564962; Thu, 29 Oct 2020 00:46:04 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id e5sm1945312pfl.216.2020.10.29.00.46.03 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:46:04 -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 20/25] ASoC: max98390: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:42:56 +0800 Message-Id: <20201029074301.226644-20-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/max98390.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/sound/soc/codecs/max98390.c b/sound/soc/codecs/max98390.c index ff5cc9bbec29..50b37e39bb6d 100644 --- a/sound/soc/codecs/max98390.c +++ b/sound/soc/codecs/max98390.c @@ -889,7 +889,6 @@ static int max98390_probe(struct snd_soc_component *component) return 0; } -#ifdef CONFIG_PM_SLEEP static int max98390_suspend(struct device *dev) { struct max98390_priv *max98390 = dev_get_drvdata(dev); @@ -913,7 +912,6 @@ static int max98390_resume(struct device *dev) return 0; } -#endif static const struct dev_pm_ops max98390_pm = { SET_SYSTEM_SLEEP_PM_OPS(max98390_suspend, max98390_resume) -- 2.28.0