Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-12.5 required=3.0 tests=BAYES_00, DKIM_ADSP_CUSTOM_MED,DKIM_SIGNED,DKIM_VALID,FREEMAIL_FORGED_FROMDOMAIN, FREEMAIL_FROM,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI, SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id CC431C55178 for ; Thu, 29 Oct 2020 07:52:00 +0000 (UTC) Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 5DFE72076B for ; Thu, 29 Oct 2020 07:52:00 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="S3S/R+zD"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="DvqhbcjN" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 5DFE72076B Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=gmail.com Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=merlin.20170209; h=Sender:Content-Transfer-Encoding: Content-Type:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:MIME-Version:References:In-Reply-To:Message-Id:Date: Subject:To:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=DJe2v384Cq+AlBHcoeybbd0UGyivdIvBDKcDAf8djwk=; b=S3S/R+zDi5dG3TgEonox2pw9N mqFa/CiMpX4NdRC0Y0jHSFGV59jP0Ao84SmmmEvz12+ot1JbKnOxgQeD0ki5QqQdSHozpt75Y1dJ0 lVOUJFwENxXkG14W6jEnNf9fVLPF1HSWhwD0zsfwjPAks4nrCcVxbkJhu8XVCXSczXmDmpXvz+tmR j7g/Clder/0XARQBiOkIOxXReTG+uVD5j8GXXfprIP4SK3D87eqpWQ2HGn1jdRdb/G5osLFjWjSDf HlhtwyIiUsynSLxSdvI6ygGA1n1WAx/UBuw21FfF2HNWuu1YMuWqX2Dfj94h7MS518vi7efH2JX1C pCZF5RjAQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kY2iY-0001bi-MS; Thu, 29 Oct 2020 07:51:30 +0000 Received: from mail-pl1-x641.google.com ([2607:f8b0:4864:20::641]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kY2iW-0001ax-6W for linux-arm-kernel@lists.infradead.org; Thu, 29 Oct 2020 07:51:28 +0000 Received: by mail-pl1-x641.google.com with SMTP id z1so893825plo.12 for ; Thu, 29 Oct 2020 00:51:27 -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=ZcwLK2LZVwzCxil2eLkEyXi1M3KniItNhHWXUNnyVHNJAbVuUWd1wLt4OQ7LlRqNS7 274eQwpi2NCUQ+SDpRTCTtaz0NJiy/UocYWvgPMi/RTZfo/cKp5HYwKQ8AWA+gkdnY7W Q1Ywl2bTmHsze9XiB6SoLMs6/yTCxrlRt8S4a+WuieTG3bxr6Bsh7VxaY4iUvq+a/Tdw D46VukFINKHa7Hr57NZft7LmfcB/BlYXk+NXL3Ztj/8I9CCM5ppiweTEv6HaWepnB95W hgN3hI9wjlOw2xYhU2l9n1eGmoqkspvXxPdyqGdMvJH0PLBw3byyrBJDr/7oMZwuNV/s 89zw== X-Gm-Message-State: AOAM530SYaQJxqzmTLH3N5PNYvpPnVFq6ZaA0cNDLthOp2Y9b2rYcoEF hAorYTQfeRtkVma4ir7vIyc= X-Google-Smtp-Source: ABdhPJxUd8hfu5jLHk8b3gLp8SIAvXM7u0B/XPH55zRwpKYA/OuaoOOEfJhbC5tysbGRkvrUXYfrzQ== 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 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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201029_035128_278110_10B26CB8 X-CRM114-Status: GOOD ( 11.98 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Alexandre Belloni , "open list:IIO SUBSYSTEM AND DRIVERS" , open list , Ludovic Desroches , "moderated list:ARM/Microchip AT91 SoC support" , Peter Meerwald-Stadler , Jonathan Cameron Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.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 _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel