Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp305623pxx; Thu, 29 Oct 2020 03:09:29 -0700 (PDT) X-Google-Smtp-Source: ABdhPJySsSEib9pU8MsXbSTcgSWTuqTvUO8QZWpctUxLmSLQF0N4SIJjvq1y8uFJ8srpsEYfo8i6 X-Received: by 2002:a17:906:1643:: with SMTP id n3mr3170796ejd.459.1603966168929; Thu, 29 Oct 2020 03:09:28 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603966168; cv=none; d=google.com; s=arc-20160816; b=Jl14xNIaLAc0jQQGoYERF3TuRqek1C+8bGNn6DZNc7WkNNxhjK4K6Oi8g6Of78V4ci yve8TPnOBOQLIHrgj1NG+NYLNeUnzHXRP65VKrTiHjCXohVbWPO4GpB4YBZrLpwHUG3q 57cKgGl+bQCz1sMUXgI/D53bOQQ7WUFDE6RCD2zmv5WNfha42t8APSDEBcSR0r52Si2G sUB4VJIThQeWbsYaFv42/5wLsO2U+U3GY2MPTY0O47Ps0q+SN4inpJfMYwUfrYTJZBi6 Q19l22rEP1CSpAlDq/2UqONJJcYtMvnf7hX5YM6n551nyoSbcfKKCMoT0bolfVTNV2fj y7dQ== 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=z3uyqhlqWXKuwHdQG2D0FdRfbGt1sXQ7EAxhDbh4ezQ=; b=fvgZoFL3lBJFeDrSjzeb3lRi869sdzvzTqVV6RK1iFXfmvmtFHcToxZRSPN5giSQvd BOUjc3sRpOk5KoPuQ/mVGQnMuPayNtIkj51RvTGYO2h/5X7Eeze0nyGqMdlCUB0ecTTv WjN+A2lYa0YLZP3BuDLNq0Ew04ITYQi1HSSd1qZtKKfhMXDHvNJZm8no1KHpMu/Stwl6 QD48gPvSq2naQg1l8viUFPYYTyapaUo0/47vzAbvzVt0ZKdB28jvwIAnlvwdIIutGRsJ oMUbPfkMWJ+aDIja2kqS3yr9prgVcIrcab3C9uWjE0ZX4g3r2NvhxPWM85J+19gJjt17 nCRg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=HNLV6ITZ; 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 t14si1476668ejy.440.2020.10.29.03.09.05; Thu, 29 Oct 2020 03:09:28 -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=HNLV6ITZ; 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 S1726013AbgJ2KHT (ORCPT + 99 others); Thu, 29 Oct 2020 06:07:19 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52698 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725984AbgJ2KHS (ORCPT ); Thu, 29 Oct 2020 06:07:18 -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 E5765C0613CF for ; Thu, 29 Oct 2020 03:07:17 -0700 (PDT) Received: by mail-pg1-x543.google.com with SMTP id f38so1941282pgm.2 for ; Thu, 29 Oct 2020 03:07:17 -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=z3uyqhlqWXKuwHdQG2D0FdRfbGt1sXQ7EAxhDbh4ezQ=; b=HNLV6ITZYROWMcg3nrkHILswyPfLMB2wgwajTF+d28HGFft4C/e3NEf5BhVPMbM/F2 BZ5m0b0dwZg63FCw5u0bYrCy3QJrjcQDW6cdtcafperl1dZGF0Z4IYheGRSndIywShFT Wov1QVKW0V1YdcIvXCpU7Z3DH8eqfLUAF9jpbWeIF/U8TuPc6yujLr+spW5LuBi5Cg8O ozqLt3lo7Z6p1XZIROJll5zJjihmDYM1RZH3f4VZU2w0Ki0ly5+VYWc15zlxCm4HUTlA RtQ1nHlGKS6xYhrryTMDLrV6LrCXC4F9WQiuY5StEbil61tC/mT3hQ4WhNkfDhrMYgSf /kkw== 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=z3uyqhlqWXKuwHdQG2D0FdRfbGt1sXQ7EAxhDbh4ezQ=; b=BXAKXnfy7hC0P02Jyy/HqYGGQgSqmqUpQ5XVHyveRE9D58Px/oX8sA9VSeGoqFJHJl VZAmfSfQ5bqRHrvkHHhHIP4XZWyvKJoRas9ZYrFEm3HYChSwa7xLVEXss29cfwIfhK2G 1kekqS7m3ncKKghqkwRhWXlh+a3XjiBa2zJSdIcX5LbrRq8B5FKRcLWCta5x/paMOk96 Bp2Ij8RQVqdCUC+BiEXlvXs2XY84kAGUH+i9MM8Bmue6Fk8NAlKVDY/JHvt79UW/vFz6 L8E1itMELVHKg4Moe3G67sAJxXVaMUUr4jCXCFyuF5yqgx8GEONtMALciBPWSEJoKmmp 65Vg== X-Gm-Message-State: AOAM532N12uJke7yoJmusdUXf3VVAf3PyGmD1NctwtY/0cARMFYPZ8vt 3SBhGAGbNKMBp0OZT2zg3co= X-Received: by 2002:aa7:9af1:0:b029:152:6101:ad17 with SMTP id y17-20020aa79af10000b02901526101ad17mr3775035pfp.25.1603966037547; Thu, 29 Oct 2020 03:07:17 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id j23sm2188033pjn.42.2020.10.29.03.07.15 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 03:07:17 -0700 (PDT) From: Coiby Xu To: Lee Jones Cc: Andy Shevchenko , linux-kernel@vger.kernel.org (open list) Subject: [PATCH 3/9] mfd: intel_soc_pmic: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 18:06:41 +0800 Message-Id: <20201029100647.233361-3-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/intel_soc_pmic_core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mfd/intel_soc_pmic_core.c b/drivers/mfd/intel_soc_pmic_core.c index ddd64f9e3341..c980af9ae1c0 100644 --- a/drivers/mfd/intel_soc_pmic_core.c +++ b/drivers/mfd/intel_soc_pmic_core.c @@ -122,7 +122,6 @@ static void intel_soc_pmic_shutdown(struct i2c_client *i2c) return; } -#if defined(CONFIG_PM_SLEEP) static int intel_soc_pmic_suspend(struct device *dev) { struct intel_soc_pmic *pmic = dev_get_drvdata(dev); @@ -140,7 +139,6 @@ static int intel_soc_pmic_resume(struct device *dev) return 0; } -#endif static SIMPLE_DEV_PM_OPS(intel_soc_pmic_pm_ops, intel_soc_pmic_suspend, intel_soc_pmic_resume); -- 2.28.0