Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp307252pxx; Thu, 29 Oct 2020 03:12:11 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz/orSsPsR48+qjb4c5c+/IFs5J8yhwmMhSMWnMyhOFNJdut89I14o0scmLINmi+brzZWX4 X-Received: by 2002:a17:906:bc42:: with SMTP id s2mr3140049ejv.251.1603966331033; Thu, 29 Oct 2020 03:12:11 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603966331; cv=none; d=google.com; s=arc-20160816; b=GXGek0PZ3j5497V1vzGZ4ph1k5HRxvGEsmHACQ6S8tAD62nNDYIdI/hTSk/gtVk5ug Z/JPw5WyrIQWlrSTNYh1rwhlOM8mkbV5/3gmBN7cpnHgE9SbC841GFhZZei7DbKgr4bh HceZZ4vVtRzrROLOJFuu6epxlk8G7BrDf2xv11kK1Ba9MeHpShXzVVrCCtHVoFjR1ido bu7/8ZTG/PGYElDF1F3ZQQ4UapZj0yYv7VC3iIrmD3LOSHanvPlDc0wzlTIEFbz1noz3 kqWvxIF9DdyrbKh3LBPtruagap6gWsSppmAIyIxT5R9HJx83eH2wY/y4i1vRaGtDGcBU u9HA== 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=j2D3ljIRngzfKMwuPIcKvtEhnJRKSaVwL3WkG6knrvk=; b=nMD2iHnq1YZKyjrPbvZfOB/44nTRrgRyP+bp//a5HaGDKiw4tSpnjUiTF5zPlF/WHf HAKuCTeh1bX/FNWWu94wgCaDb2F2895m1H936Md6eck0SsZk2kMP6G4GWF1f1XA6F40s baolo6b7m+fkWLLMv9rJEFRW1JrstwMiYxTPtdvAPOX3hli0067RGJUR8moEUisEzNFR A+CCMrnpZtmiJnKl+khrFNRIbzyr2cEgBxlh93sNdrhTBUvEZdEqu5KQxZp1ges7tNv1 +T8lZWHFk75ubq/U5wFJJU/AS1wA/8B+Der9I2daJQgV1ns98/LEpxzL+9KmN1if03N9 GYfQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=iJdMqKJo; 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 n3si1484874ejd.44.2020.10.29.03.11.48; Thu, 29 Oct 2020 03:12:11 -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=iJdMqKJo; 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 S1726389AbgJ2KHs (ORCPT + 99 others); Thu, 29 Oct 2020 06:07:48 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52790 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726404AbgJ2KHs (ORCPT ); Thu, 29 Oct 2020 06:07:48 -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 09179C0613CF for ; Thu, 29 Oct 2020 03:07:48 -0700 (PDT) Received: by mail-pg1-x544.google.com with SMTP id r186so1950728pgr.0 for ; Thu, 29 Oct 2020 03:07:48 -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=j2D3ljIRngzfKMwuPIcKvtEhnJRKSaVwL3WkG6knrvk=; b=iJdMqKJo/Y1DfzCXyrAsC7ydxAYWlLXt65DaS6ZVvbJzNhcxMlgdqH9EL/Ob3JzeER AbjvQv6bu/QTEGkmE5JjwP4uPDLBzjlgFWzfDFkd4ALTbpz7yJMW5yjagF8GlYlYa22I 6x4PYRNnWnVUEsPK3BhmcwyRWUKB9q2rB7EVJlRm6dOalZdlOWfOYBWKKS3Wqr4SkTyr s/+pyPvgzjDNJx8yt4VglU/f3HnsJt54JmCR/R5pyDiJHP8Pp8YkWU3v3HERpwfqUhuG Q9CWdWimLtDB0hL5uBei035TPMO30Nvk2eHOthy3iQVq9cFS7/T1FOT2vZ6ltTMLGHbv nOWw== 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=j2D3ljIRngzfKMwuPIcKvtEhnJRKSaVwL3WkG6knrvk=; b=b4+EtxmpE3ELg5EHy0OcoIJNHd8y9oISYjtfeFhb7fr5+DbHX+2Yf2LznLXYyFfXJB w5hpf7s8W/LzOG3iUYjDquoLf1V0NyVG5Bba86wPSZhNinIkmVcTSD40FPSAsM4pMi4J dYUr4qZD126xuUOxhtNHfIo8S+oV4xutRU9ELH9JQ1sA65dyix5UqTf++4xuiFePvLC5 vvsCcdmlTLqXy7oNcEkqLWbmvONjukCH4YhArEKZZYSQmnzr31YCNzDSzzeKIZjv6R+j /8tpZRFYOGjnawedU4D2N7evuyj7O69cd8hMdB1XZjX04XfejrRmHm55Ucbqypm5r+cY ed8w== X-Gm-Message-State: AOAM530UQgTuSXzx21IkmP7F0tfLMfNUa3ox8mdbIoe+Aq3HdAo3qmTG LWwekzwEV2eqdhT8Bn8Z8lo= X-Received: by 2002:a17:90a:6b0d:: with SMTP id v13mr3634098pjj.206.1603966067626; Thu, 29 Oct 2020 03:07:47 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id 186sm2457826pff.95.2020.10.29.03.07.46 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 03:07:47 -0700 (PDT) From: Coiby Xu To: Lee Jones Cc: Orson Zhai , Baolin Wang , Chunyan Zhang , linux-kernel@vger.kernel.org (open list) Subject: [PATCH 9/9] mfd: sprd-sc27xx-spi: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 18:06:47 +0800 Message-Id: <20201029100647.233361-9-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/sprd-sc27xx-spi.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/mfd/sprd-sc27xx-spi.c b/drivers/mfd/sprd-sc27xx-spi.c index 6b7956604a0f..4db2ec9ef2ff 100644 --- a/drivers/mfd/sprd-sc27xx-spi.c +++ b/drivers/mfd/sprd-sc27xx-spi.c @@ -206,7 +206,6 @@ static int sprd_pmic_probe(struct spi_device *spi) return 0; } -#ifdef CONFIG_PM_SLEEP static int sprd_pmic_suspend(struct device *dev) { struct sprd_pmic *ddata = dev_get_drvdata(dev); @@ -226,7 +225,6 @@ static int sprd_pmic_resume(struct device *dev) return 0; } -#endif static SIMPLE_DEV_PM_OPS(sprd_pmic_pm_ops, sprd_pmic_suspend, sprd_pmic_resume); -- 2.28.0