Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp307057pxx; Thu, 29 Oct 2020 03:11:51 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxLGG7VSDdzu5604lVevVXDv4/fXuTTT8gC0bJ55hR85cmxe6dza/1YPoS2WsXg8rc4L5rU X-Received: by 2002:a17:906:1c0f:: with SMTP id k15mr3122036ejg.343.1603966311169; Thu, 29 Oct 2020 03:11:51 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603966311; cv=none; d=google.com; s=arc-20160816; b=RxhMKj5pp9rwq5GNDOSW7cGxx/+78uQMmdQZYVDXxrXgdvtqOaNllrHyIrwbav7XLF 5t4c2RWag0imdQCf69Q0hNUeT6uQpOujbU6qLgKcP8xTTqUT9w12fAgueOITqzpUoNb4 0b4WEnyyBweiJutunnw1XOCW/Mi3V5uUm2NLoaq9Vekp1KVWkT1RZtNx74LS1Pl3HDYS c3CHPZWSDI6YsbfX5TvurvaAXaRGHBHHQV6L0o7QJp26sUMY0L6wxMTPKfJkvMLIjoCn qLJDXltDyNain5jPiHO6gdWsdnOHMp9lRdT8CLlz1nivVoKAzvhvEr/GQOoJP7ikAchs BSUQ== 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=gwxFeVVQki1Ulmy+kJJhnnhA+Wk8B176vMB8y1DV654=; b=FEG22oct4JSyUcGntdimrwzOY6c13MEv8wv+6+IHsl5satBgnkOhRm2rTvn7EklTRV lC+OFgc5QuTOXeTY+ugFJVSHGTNrDkE1DPDbFjYDoM1WEdo6tGRJImIBzpCKCQf0Ey8J XCj/IBBAupyJWxTveB/6MP/izJyOZJQXXljOKEK7NrKJuRCF25I3QDjFeizRCjbPwQSR N+7qfuyLdqwhHXo98IqUm5K79FTCUaNIDOhSADCkEKgDc6Z7Xz2YV3l6VBYSNlBErHBh ALMRucMxgowjXYoJVJ6BxICdtbTe4mtjru5vQDaKD9EkpupUcheJmvqtYLHk/kVZ9uZu OMEA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b="Jh/BjhJt"; 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 dr8si1518549ejc.505.2020.10.29.03.11.28; Thu, 29 Oct 2020 03:11:51 -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="Jh/BjhJt"; 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 S1726323AbgJ2KHi (ORCPT + 99 others); Thu, 29 Oct 2020 06:07:38 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52758 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726345AbgJ2KHh (ORCPT ); Thu, 29 Oct 2020 06:07:37 -0400 Received: from mail-pf1-x442.google.com (mail-pf1-x442.google.com [IPv6:2607:f8b0:4864:20::442]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 13F41C0613CF; Thu, 29 Oct 2020 03:07:37 -0700 (PDT) Received: by mail-pf1-x442.google.com with SMTP id w65so1940683pfd.3; Thu, 29 Oct 2020 03:07:37 -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=gwxFeVVQki1Ulmy+kJJhnnhA+Wk8B176vMB8y1DV654=; b=Jh/BjhJt3TZ90ppnUlJyJkk1IQ72kxpYx8aoWKKBjpoPZfq52TCe2M9VWh5nhGs4Hq Mc63l3ojiG3yIqF4QF5yeTLcMpw4JKQrkoDcoKpHX7SfFfXtQcbVhNbSRPGvjI5PBt94 20XlABvYthvXwuaJIATN7l+sK72LZjRJI3Py2EI1Q9VoYG83s5jHy6MOJ3Qgp26bz+z+ TA0K2E3PxBayV4Ib/OaJ0fL33+e8FzJc9m+XVBlRV1UB+kLrxX/pDGPY8gtOtHKmz8eC 9GWo+h3L4ZeFKug9kq/j+MUgBd6uxMvQ0yBqVMIjMQtF0o7L2TNh1AOGj5I+Gi98MihV 3stw== 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=gwxFeVVQki1Ulmy+kJJhnnhA+Wk8B176vMB8y1DV654=; b=T2PzoEDIFCvwOMZTHeO4tyu0ak9KNijZH6I2MlzoN61g7kB8QU9rdjMSDKmJwx7YbO kPB3H9Z/8dgouqfpoNdLHplAfl/e6hTvJXDI7Ox7PRfGEVqTR19T1d5nYzVCE4p/BPmU 8APKP4BgA6hyhyRddXcecagui0+eda7kpP+q42Om7oof+evnTdV+MQ1ioud/m+1bBuud b2a1X4VtHKqNmSu8ctPWRiBvJ19x+jePIjYFQ5Nl5m1mIZrokr1vnTnNU6VNejCdd0j2 kZO3bnMKRgZjXYYns6mnEydWFy/zcWQlr8IK12a8fNJoS/MHXqVVfLdeyebp9ilAAGuM CdtQ== X-Gm-Message-State: AOAM530+F++/+r+8CINiwJ09cj1fsy3Afq27zCjV8W/vBBVe07Ackbmo dhPIli4hf411xpxEBUXB7xDoyT9ACNEpTlrW X-Received: by 2002:a17:90a:1bc3:: with SMTP id r3mr3713084pjr.196.1603966056700; Thu, 29 Oct 2020 03:07:36 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id s18sm2049865pgh.60.2020.10.29.03.07.35 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 03:07:36 -0700 (PDT) From: Coiby Xu To: Lee Jones Cc: Sangbeom Kim , Krzysztof Kozlowski , Bartlomiej Zolnierkiewicz , linux-kernel@vger.kernel.org (open list:SAMSUNG MULTIFUNCTION PMIC DEVICE DRIVERS), linux-samsung-soc@vger.kernel.org (open list:SAMSUNG MULTIFUNCTION PMIC DEVICE DRIVERS) Subject: [PATCH 7/9] mfd: sec: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 18:06:45 +0800 Message-Id: <20201029100647.233361-7-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/sec-core.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mfd/sec-core.c b/drivers/mfd/sec-core.c index 95473ff9bb4b..a5d19798d671 100644 --- a/drivers/mfd/sec-core.c +++ b/drivers/mfd/sec-core.c @@ -496,7 +496,6 @@ static void sec_pmic_shutdown(struct i2c_client *i2c) regmap_update_bits(sec_pmic->regmap_pmic, reg, mask, 0); } -#ifdef CONFIG_PM_SLEEP static int sec_pmic_suspend(struct device *dev) { struct i2c_client *i2c = to_i2c_client(dev); @@ -529,7 +528,6 @@ static int sec_pmic_resume(struct device *dev) return 0; } -#endif /* CONFIG_PM_SLEEP */ static SIMPLE_DEV_PM_OPS(sec_pmic_pm_ops, sec_pmic_suspend, sec_pmic_resume); -- 2.28.0