Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp306574pxx; Thu, 29 Oct 2020 03:11:00 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwXzvLCkhsRP+JrjW7R8OxS48U2CTsNJs1QcCILA6DawdS+FK4UWnXY5uGQyyuP38zu4Ldi X-Received: by 2002:aa7:d699:: with SMTP id d25mr3092828edr.44.1603966260015; Thu, 29 Oct 2020 03:11:00 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603966260; cv=none; d=google.com; s=arc-20160816; b=f9/RQ4ieSBPEjP8lqn97GlB6wh/hlaL5LM5yca8VQWk2+OrZd9fIkjcdJx3vHykH+q 6h7bUGkW/zs1DQw/0Q+N+6BADzRmzNEnCCg+3YKk6TET8ONf5PVlxdFHUOoZeoObbn/O wlFhBDmabVE/LTLuzgu0ciZGC0cIUYVyQMHvQB+y9QfIRlvnX1cIfwKxLTmMDguawpf7 i/J4RFCdHygsF0VzSQ3WGb5aDamrMfCG1EtzZ27UOFju9pRwaLzi04ILECNZbHcFOUeq 1WsCidFOA6j2fxisjp8mDs7pQIJz+Iw9Fu1R6u0EVw8mHZ0m8pTakwBcba4a5NoEIFnE 5K0g== 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=QNZY32cDasX8W6NS9YxVOrELwcy6A3anBtmmEKNCzAA=; b=RmzYwy1ZctOBweeCTM2lRQvOD3nYti1k8r2PnLVo/sCnzxubd8H1CSKavq4ZGbS/Y1 U97eihhKs1cFt1IMzDcxrYZLurb8vx35VqYZtwqQWacHGaAFHUDgfqTwaMVxVYFqHbTX od9+KYspfzANCobovyTOXZnVwMfbiwTU8r/rz8GteKon9/CSU04zf2s0PEWeAIC0J31Y sJZ6VfK8YbAYWrBiqmqpyb0fIvhk/ZF2o/myhrsx6wN4qmQA6dsaKVgvBZ2zMeNJCmii 7fXihv7PCMR3FYt+nde4osGMMn6P0TszKMMwpevaHsL0fL3S9UCgntdLyr/TKXhavnMO cycw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=QT9PiP4A; 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 c18si1500880eja.521.2020.10.29.03.10.36; Thu, 29 Oct 2020 03:11:00 -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=QT9PiP4A; 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 S1726381AbgJ2KHn (ORCPT + 99 others); Thu, 29 Oct 2020 06:07:43 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52772 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726345AbgJ2KHm (ORCPT ); Thu, 29 Oct 2020 06:07:42 -0400 Received: from mail-pg1-x544.google.com (mail-pg1-x544.google.com [IPv6:2607:f8b0:4864:20::544]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 21864C0613CF for ; Thu, 29 Oct 2020 03:07:42 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id x13so1924475pgp.7 for ; Thu, 29 Oct 2020 03:07:42 -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=QNZY32cDasX8W6NS9YxVOrELwcy6A3anBtmmEKNCzAA=; b=QT9PiP4AyQFjWNFAmbHqSwtAwK6JqAzM9FCZiRMmH/ZRTdxyRRd3/rzNXyQwMNY49Q 4CycHOllQDsCCsOwHHV17lICPWgrcIujjvna+uHu7BnnhFYdjkM1L7dsjKobZjRn0nuq Xg0FEMg4FNiTCCyTyyIAMMKfZI33YuEBDJD60H05JpFIsA2t/1qcRzrA84fdjkCj1GbY QAHbkr9cH6THIISXmeLXH1RnXgH/3+L9IA8Wx0F2W+XYmD1benJzgEoMFwoDskDsmema RjQzjp7bETqQfhR5FmNMhI/nWqJARmgE8Nfeq/qY87Kt9PcXJQ/8myCS7e1UdrZdH85s HViA== 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=QNZY32cDasX8W6NS9YxVOrELwcy6A3anBtmmEKNCzAA=; b=lMkz8l1hDtvNTwA1+5+bB3z10CC0d0lo70stsKLcSDHnPQZ5nJDvWqgIjsN5AlIYx0 274p7AsYnyztoqdsuHkmzu1GGwkIc4g5lWDKMG5n1eXPBCD82EdpDyAwfkWct7x4LmHd rKaynCMWKAXBQGYNtVLaqlS7axz+LOZAplni9Byrtn0eSZshHyw9MLSQzXtp3A/jJTRB CcoGWmYYCmKEDv9LSLBslrt2Ez1VGVok3fvtSmG4gr2xwsrxUoJtbdK8j+TCketlHtaa IZTfMzS2t+j8cUm3tni03P6sShz3pywCR1nvvfTwvhEqCVnsyBJe5WCjwqbJ9u6q0YjN nkfg== X-Gm-Message-State: AOAM53255y01rkHVfdsSQZqa8JSf2wcN3BBzao0vSLcpdBpxitGVqGhE CekS3GljtFsZx3FUcqmwkI8= X-Received: by 2002:a17:90a:f206:: with SMTP id bs6mr3433003pjb.219.1603966061710; Thu, 29 Oct 2020 03:07:41 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id h20sm2131907pgv.23.2020.10.29.03.07.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 03:07:41 -0700 (PDT) From: Coiby Xu To: Lee Jones Cc: Chanwoo Choi , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , linux-kernel@vger.kernel.org (open list:MAXIM PMIC AND MUIC DRIVERS FOR EXYNOS BASED BO...) Subject: [PATCH 8/9] mfd: max14577: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 18:06:46 +0800 Message-Id: <20201029100647.233361-8-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/max14577.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mfd/max14577.c b/drivers/mfd/max14577.c index be185e9d5f16..c619dd8172d5 100644 --- a/drivers/mfd/max14577.c +++ b/drivers/mfd/max14577.c @@ -482,7 +482,6 @@ static const struct i2c_device_id max14577_i2c_id[] = { }; MODULE_DEVICE_TABLE(i2c, max14577_i2c_id); -#ifdef CONFIG_PM_SLEEP static int max14577_suspend(struct device *dev) { struct i2c_client *i2c = to_i2c_client(dev); @@ -515,7 +514,6 @@ static int max14577_resume(struct device *dev) return 0; } -#endif /* CONFIG_PM_SLEEP */ static SIMPLE_DEV_PM_OPS(max14577_pm, max14577_suspend, max14577_resume); -- 2.28.0