Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp305709pxx; Thu, 29 Oct 2020 03:09:38 -0700 (PDT) X-Google-Smtp-Source: ABdhPJxsTTbkevUtjIleMtjuYlhItKG0rTdJUzk6SYskx17rxeVYEVdwvSYIJwgxdIHZFKbktBiW X-Received: by 2002:a17:906:c0c9:: with SMTP id bn9mr3158658ejb.289.1603966178400; Thu, 29 Oct 2020 03:09:38 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603966178; cv=none; d=google.com; s=arc-20160816; b=r71+REwqZcrPINhCbKs2zt9Cn1mfDMCYg8bZxi7TpPpoMHEfNh59z3gDrgjlOaU4qB wefpC10fS02r58n7//eXKja+KC7emRlwmZyEgpVnN/g2GHFS7SW1nzAZS5RI+5khmtYV vUhJY357ioB5cEJcUOpeNTj6u0ka/QLud41U6QeB3pvu6bGLAFzBCZG9j78tp85ZcXvp 1hiCVqN2LXCOoXgK1vUujZjdie2z59/6SpUpE9btHs5Z3ZIWSoyF751ZXaX9YQ7C/rrA R0W+EgZ/EWQuon24r8w+auFYPocQCTAa1FXYhcCc/GaqPR2XZVUlP+0a6kHCePdf7lJR J6xA== 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=kaco/2CftYFGu/eFXJkHw/L2xwMEatEIbvMFbMDpekc=; b=Xr/bW1EVn6mEodaH91pYxxCB8kEaq0wM1INJkOZz9tMiPr38N7GTtVBl2xNcjSJ4Vh gFHaTwrv6E3CJtMD43OrAF7UTmhmBch7mRrOktwbSwzMMy4r21jtr/iACCNI3SrAUHUP vr6K+mGuxtwMZTAEAvFIscFkd4SdG4BZqDK+i2IKh8b8aUTyj715iaOvyQhoGDuQcLxV OKTt+nZndayChLoyc1qZ66xsB9qbyVZ2HSkqC4/ajne9tIhSHSkYzO/H/U52ZyDt9BuT 98h9XEXdxCOsdJbPmHiv905R1DPviKeUhqGbJc3r56mw3hm642KBbM5sJsqv4vCIzMyW ZdJw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=EqbJY2MC; 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 di4si1613272edb.254.2020.10.29.03.09.15; Thu, 29 Oct 2020 03:09:38 -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=EqbJY2MC; 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 S1726159AbgJ2KHW (ORCPT + 99 others); Thu, 29 Oct 2020 06:07:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52710 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726114AbgJ2KHW (ORCPT ); Thu, 29 Oct 2020 06:07:22 -0400 Received: from mail-pg1-x541.google.com (mail-pg1-x541.google.com [IPv6:2607:f8b0:4864:20::541]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 6A118C0613CF for ; Thu, 29 Oct 2020 03:07:22 -0700 (PDT) Received: by mail-pg1-x541.google.com with SMTP id n16so1909324pgv.13 for ; Thu, 29 Oct 2020 03:07:22 -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=kaco/2CftYFGu/eFXJkHw/L2xwMEatEIbvMFbMDpekc=; b=EqbJY2MCnQ7Cozanruz5iXdLHkbQbFIBBKD2Ck20OXnX9C1Dn9a3oIGFzDXrZxJSKA yDCHNbA8C7lR++xqh6TnLiz36OKqP5n8up9Lw8hhSm+YYU9TUm9z4DK2GEdaqTF+tvCT Vs+LIBq+9Jab6w4QsQWpSqf3S8FPvmPiRSQH0kFwkrzgcyjvWFxQkUSiaoaOu1MZvxJz 57CfmlBAdrJq5sQkYlhkK3cM287nftmz26nAA4VH6t20eqCQnvOUjuFidUsJW6YsCZy1 L1h/R19+fN2uO18DdCo8MzDKB06+UaebNJN1bHv4eH773K3EHHBu2mHisWBVLemuX01c Q1gg== 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=kaco/2CftYFGu/eFXJkHw/L2xwMEatEIbvMFbMDpekc=; b=Y2Oc9MJJPiDEsxCNwlMHsLRqUl5cqXnOo9TveNPzNp8zNXjU+QHNMGT0N3hemciZ2Q qNmbgKAclugX67ptABEJXE8N9favdWRYO7MqYG+U6HVY6HIG0D4nGeGBLbCoAh6Fr3TC VYJAdd7aRNvC2v8ti0ErnxIiHs7QaTwmfNUqtaVBHq39DqcxoRNH5L367DgTc46Kf8jZ Odg167KIvUI9YcZFAOmO0mxLHuGhmlgsPzRH2UB3RcJ4na2LOgRo9VemSuzw2EcwmQPD +1Ht+rI2uXYT6Pye5Yd4QfSXzcg+BvEMWYcsF65AHzC4By6YVaEQX/DwXlfKsOIafCZL M4Qw== X-Gm-Message-State: AOAM530CNOVB2FHi056ATCkuSwvXaMZUbSts08WUrIy5h14DtKFEdqes pQFaNUjZ8LBLVJAzEsFHiFkFO2DxOUomCnci X-Received: by 2002:a63:da4e:: with SMTP id l14mr3440872pgj.131.1603966042021; Thu, 29 Oct 2020 03:07:22 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id j20sm2121784pgl.40.2020.10.29.03.07.20 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 03:07:21 -0700 (PDT) From: Coiby Xu To: Lee Jones Cc: linux-kernel@vger.kernel.org (open list) Subject: [PATCH 4/9] mfd: max77620: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 18:06:42 +0800 Message-Id: <20201029100647.233361-4-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 SET_SYSTEM_SLEEP_PM_OPS has already took good care of CONFIG_PM_CONFIG. Signed-off-by: Coiby Xu --- drivers/mfd/max77620.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mfd/max77620.c b/drivers/mfd/max77620.c index fec2096474ad..17ea0ae6408d 100644 --- a/drivers/mfd/max77620.c +++ b/drivers/mfd/max77620.c @@ -574,7 +574,6 @@ static int max77620_probe(struct i2c_client *client, return 0; } -#ifdef CONFIG_PM_SLEEP static int max77620_set_fps_period(struct max77620_chip *chip, int fps_id, int time_period) { @@ -681,7 +680,6 @@ static int max77620_i2c_resume(struct device *dev) return 0; } -#endif static const struct i2c_device_id max77620_id[] = { {"max77620", MAX77620}, -- 2.28.0