Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp306429pxx; Thu, 29 Oct 2020 03:10:47 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxG0KlO3NLHkip4sFKc7jFriZxelz9Lcf+KD9hy1uSNnq8LOHiwqgm/To1ZL3Nltdp+Turu X-Received: by 2002:a05:6402:1c1b:: with SMTP id ck27mr3222744edb.218.1603966247753; Thu, 29 Oct 2020 03:10:47 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603966247; cv=none; d=google.com; s=arc-20160816; b=GgzdQLlP8R3zoppfJ7xwv4gMqN25MsGk3TIlzLjFH85LjA2GBFyvNB0OuY7zFyjvva dcl9MaehKdU8SP+sxK5rQ5KQ812Rszz9+qaJxNYYD8qR5Y2qq/e/iSO8yQ+xpDj3bwTj GovDT3jwPH13JQy8valdXi0jeOd4co2B9osVTeS1LI/ER9bjHYM8jfT14Je/C82TP8hj q4kYulT+f0ubjy97muHVq/o/w3P5OqIlwFhw/DDl0mTxQcGc9xCEihDSZkzBN3ELD/yC 6PB3zyqJ0lCcGns9zlaXOoVnIVUPL+ML7cpWTrTwFjSUH4GexBnyV0NiF9O/Ux+tR6Ta eYPw== 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=tI5oeu083/nL6GJhPsqc4gO0SNUKlgZsyMixSW/3ceg=; b=gG3YJzCVQIWbN78fECwZrqBlmCPHcLsda/WGRsm/twuLfhbZYxHG9+Dbjkb+Zg3N9b 1o0e8JdXPDCb46kf6KMx7c1KNzeq5yPk6hiJo7dhpK8r+NQcV4dh6VWlZ5RPDfW8W1Zt zCEKQLDhtK4Kdw7R1Q+27AjH3d/QNjJ2zZbGM1YPJdCwnXR8mxLtywodHl6lFkQxvzky JclcrWaW8lpx2sQQDXRzmcYniEcFRkBNibZpzinDb9G18RiwNWjU1ix6hZ85qRir94Or eX+hKn9nLGBJBZiNJw5efTvGPIZhtpdpYIPkuTK3eoHT6XvBJ1a/4EwRQZa7+MXj3OeU gQjw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=nSAByfXc; 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 jz14si1499153ejb.17.2020.10.29.03.10.24; Thu, 29 Oct 2020 03:10:47 -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=nSAByfXc; 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 S1726351AbgJ2KHd (ORCPT + 99 others); Thu, 29 Oct 2020 06:07:33 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52744 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725984AbgJ2KHc (ORCPT ); Thu, 29 Oct 2020 06:07:32 -0400 Received: from mail-pl1-x641.google.com (mail-pl1-x641.google.com [IPv6:2607:f8b0:4864:20::641]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 402B2C0613CF for ; Thu, 29 Oct 2020 03:07:32 -0700 (PDT) Received: by mail-pl1-x641.google.com with SMTP id o9so1046033plx.10 for ; Thu, 29 Oct 2020 03:07:32 -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=tI5oeu083/nL6GJhPsqc4gO0SNUKlgZsyMixSW/3ceg=; b=nSAByfXcQaloLeZ8FOeVHFsqjjm2/caWkiYYZXQGPJqnlWz7Bn83icp5D9q1sD5/Bu hSzqZO9EChV1mkauO5ZBbGCqt5JW9mikWmnMl91EKIGgiC5IveqOPDpGqEtiySDXdQKL FcnRCoiC2OE7h1Q5Bs8eruWKmzC8N3i+77Nz2w3++hIa3+2dvpnToXmYSNVm9m1egVUA pA+vQ3J5sdPBNGbK2Qt7Y/m3oCCXnLFN4jsmAVH4ug0s2BP4RVKkpRIusRhR375vuq64 /OfnD61VkY2Lc0GbORc7TmQn1OKouobuIr6SP3FrBT53Z5MAnxrt20UanKnbI/3lTnC+ zPsA== 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=tI5oeu083/nL6GJhPsqc4gO0SNUKlgZsyMixSW/3ceg=; b=Ula1H4EJeDZh4qoPjQaMymWdZvo1sq6FI1OsC81pteCA8A6UrPSjx5i9E6ixXCyjyQ 8d8WcXFl6AGDVE5oVUOVKd9yTL8R3kXh9BMfiwObNTg1bwCCiDVS1fL+jCFU4es+cfO5 LTnIOAa3qkBMlooX+XTiq+GCTkL98gHRePs1fcZ0ZLQO/KayBWmlu5K9ylj2koL0cn7v 0/UnVbL3kxkVQnPZt4s0k6IJeELK6ko4ovBkrqnF1Wfoo6ZfsFLu56XPH/lOAUvs555z 6JcM3Nkw8O3ffF5PBCboxa8YJY693gtL4p+CZbiMd8C1W7nSNMNcU7v8TpIwWnw/YeHC yWFw== X-Gm-Message-State: AOAM533CQr2iSjE4lx9NqLc3TqoEtBON76qJjePzVsy7MxKubMMgaSK9 FxGYvGDjAS9p5MsFQk8JYLo= X-Received: by 2002:a17:902:8c8a:b029:d6:42d5:1cb7 with SMTP id t10-20020a1709028c8ab02900d642d51cb7mr3175494plo.73.1603966051875; Thu, 29 Oct 2020 03:07:31 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id l18sm2447529pfd.210.2020.10.29.03.07.30 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 03:07:31 -0700 (PDT) From: Coiby Xu To: Lee Jones Cc: Maxime Coquelin , Alexandre Torgue , 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 6/9] mfd: stmfx: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 18:06:44 +0800 Message-Id: <20201029100647.233361-6-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029100647.233361-1-coiby.xu@gmail.com> References: <20201029100647.233361-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 SIMPLE_DEV_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- drivers/mfd/stmfx.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mfd/stmfx.c b/drivers/mfd/stmfx.c index 5e680bfdf5c9..e760cf2be02e 100644 --- a/drivers/mfd/stmfx.c +++ b/drivers/mfd/stmfx.c @@ -469,7 +469,6 @@ static int stmfx_remove(struct i2c_client *client) return stmfx_chip_exit(client); } -#ifdef CONFIG_PM_SLEEP static int stmfx_suspend(struct device *dev) { struct stmfx *stmfx = dev_get_drvdata(dev); @@ -535,7 +534,6 @@ static int stmfx_resume(struct device *dev) return 0; } -#endif static SIMPLE_DEV_PM_OPS(stmfx_dev_pm_ops, stmfx_suspend, stmfx_resume); -- 2.28.0