Received: by 2002:a05:6a10:9e8c:0:0:0:0 with SMTP id y12csp270661pxx; Thu, 29 Oct 2020 02:06:24 -0700 (PDT) X-Google-Smtp-Source: ABdhPJzWkYAM7dNJmoVD/1Lp3HiC1aKy7MwG0jW2c+p2m9a+HzazA9W7UAlOUfFO5JPhCG7syFS2 X-Received: by 2002:a17:906:2b44:: with SMTP id b4mr2987338ejg.73.1603962384615; Thu, 29 Oct 2020 02:06:24 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1603962384; cv=none; d=google.com; s=arc-20160816; b=h5aYzmJtawG4nFiHtT+UhI47HtVY6sXCM22oxMzMXDFWX8fCaRqW4KGY6HUXKSWeLf AcupL7Mu+r4YY6cXH8FtralqcmWHpTQsY+KENt/CIogr9RIG+lOeYkdETpW6aMKfYwNr dsf0w0te8mvqEDcbS7fisrmw1oIxLt4LkuUj07wdVVTY4uP950oe0xMq6FkHUNR4NELq 2v5pLxs3zXPCoRY1W68HnLPI7pJLLwhgxY+8uETk9Urknp010HG46/m691bqLoHMfj5O jWCfJXQrtEZ+OVK6LNfTLultjasD2lOojKfQuPrPzDEj3FzTgJWWBT55SLl6kRrKMtpM S8Nw== 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=wZ5UHJU2k8+XmvcH/IvrsRU5Xn67KNu8TMpKLwowKVg=; b=zXFiowci0YQr7uszPIljfY26cXE/k4gXpubtPsed6gY15JkbZG08c2jwqQi4pbIEZr 7bi6It7MK/mL5IK/uZE9vOlYclou7EanM5OzYeNVn1606kTe0pCkDUN8eQjaOanYKP5k fd3nE/Izn86DbZTOyLnkY5AMXXKW8H2E7CNTP4sUDU9IU7A4jfYinz2aa/SkyssiK1c+ xvvy1CxgcKGJdLtvMo08cSoRGGKay6Cjo/4F/aCOZZoHijX7xb85AbppW9BqDbJz/ydS zQytPj/bD4phN92ojbJYQ+QKqtu67WccZzkv3s46UTUhpTmn8d+HzpiQTpra7RZ+MgUi VjnQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=DvqhbcjN; 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 z7si1591379edm.477.2020.10.29.02.06.02; Thu, 29 Oct 2020 02:06:24 -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=DvqhbcjN; 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 S1727312AbgJ2ID1 (ORCPT + 99 others); Thu, 29 Oct 2020 04:03:27 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33008 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1725827AbgJ2IBA (ORCPT ); Thu, 29 Oct 2020 04:01:00 -0400 Received: from mail-pl1-x644.google.com (mail-pl1-x644.google.com [IPv6:2607:f8b0:4864:20::644]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id C053FC0613D3; Thu, 29 Oct 2020 00:51:26 -0700 (PDT) Received: by mail-pl1-x644.google.com with SMTP id b19so923205pld.0; Thu, 29 Oct 2020 00:51:26 -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=wZ5UHJU2k8+XmvcH/IvrsRU5Xn67KNu8TMpKLwowKVg=; b=DvqhbcjNnrs6ueCs8a1BmDbtqqE0qoULXOUahG0UTo2wUKeAt2R3YTs1Z361bm0W5q SBC4oh/uvWVwlfG84lemEgjF2uQ/DeT2/dCQt94dg34OaBHae5araLdtkdjLlPQ5x9p5 DhTn1jn1PHyhXRcz7EOoSd/F0dDpnNri2fE0uLzQopWM14qrUUHWoJxITOuc2CyauKBi xH2AAbVdD+RVFdZ8XkIw4S8T9/IdnQ2M8/5XgWvz+o2Se0XSM7XbnZ1Fyy/E9u3iHTDm pMwhPrFNGO5mEY3wAi7UmL6GuL4fvaVPl+8CgykdG+EiRNwoPcM4SoKUzWccNIwWDG4m /bDQ== 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=wZ5UHJU2k8+XmvcH/IvrsRU5Xn67KNu8TMpKLwowKVg=; b=PDPqVxoSgFiZP0/2vhFmp358QgCIohQ/3Lz+yUao7IgXViEU0Rmrff0fe0PNTU39y9 NTDhUwNCtRu2kjJVrb/ib0J1SjQxVSfaCbWBlHmBmbLuU+vU7gn2AKmI7vOaxkL5loeB vG13GvJnfY970B/QATT7u0ArmSzDYfW8DJRvZy9W95SnqRDuwnasBy2ACYXhYClY7zsT 5/QggBO/ovJ5vc8HxqK/bt1md1m8QYFfG9nYP/cJiMLvnBp1G2woSMCSGoCqB+VwumXy NbqWYxDHrC1oKfI7gn3u++JeQS0RPb2FdfWgjqmY3FMwV0nblRB/fvfa7r5+pyzOzvbS 8UXQ== X-Gm-Message-State: AOAM533koEIsFnma07UaT1O41ZrluV6k6v8B1IwP+sSMg/NeuS0EZ+5N zvBzVAjYCtKmCEqTjOBvERY= X-Received: by 2002:a17:902:9887:b029:d6:681b:baaf with SMTP id s7-20020a1709029887b02900d6681bbaafmr3027313plp.20.1603957886390; Thu, 29 Oct 2020 00:51:26 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id s4sm1755525pjp.17.2020.10.29.00.51.23 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 00:51:26 -0700 (PDT) From: Coiby Xu To: Lars-Peter Clausen Cc: Jonathan Cameron , Peter Meerwald-Stadler , Nicolas Ferre , Alexandre Belloni , Ludovic Desroches , linux-iio@vger.kernel.org (open list:IIO SUBSYSTEM AND DRIVERS), linux-arm-kernel@lists.infradead.org (moderated list:ARM/Microchip (AT91) SoC support), linux-kernel@vger.kernel.org (open list) Subject: [PATCH 11/15] iio: adc: at91_adc: remove unnecessary CONFIG_PM_SLEEP Date: Thu, 29 Oct 2020 15:49:06 +0800 Message-Id: <20201029074910.227859-11-coiby.xu@gmail.com> X-Mailer: git-send-email 2.28.0 In-Reply-To: <20201029074910.227859-1-coiby.xu@gmail.com> References: <20201029074910.227859-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/iio/adc/at91_adc.c | 2 -- 1 file changed, 2 deletions(-) diff --git a/drivers/iio/adc/at91_adc.c b/drivers/iio/adc/at91_adc.c index 9b2c548fae95..445072b239a6 100644 --- a/drivers/iio/adc/at91_adc.c +++ b/drivers/iio/adc/at91_adc.c @@ -1350,7 +1350,6 @@ static int at91_adc_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_PM_SLEEP static int at91_adc_suspend(struct device *dev) { struct iio_dev *idev = dev_get_drvdata(dev); @@ -1372,7 +1371,6 @@ static int at91_adc_resume(struct device *dev) return 0; } -#endif static SIMPLE_DEV_PM_OPS(at91_adc_pm_ops, at91_adc_suspend, at91_adc_resume); -- 2.28.0