From mboxrd@z Thu Jan 1 00:00:00 1970 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=-11.5 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH, MAILING_LIST_MULTI,NICE_REPLY_A,SIGNED_OFF_BY,SPF_HELO_NONE,SPF_PASS, URIBL_BLOCKED,USER_AGENT_SANE_1 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 80687C55178 for ; Thu, 29 Oct 2020 07:59:11 +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 0E9DC20EDD for ; Thu, 29 Oct 2020 07:59:10 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="hiGL1Nz9"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=st.com header.i=@st.com header.b="NZrMALkn" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org 0E9DC20EDD Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=st.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:Content-ID:In-Reply-To:References: Message-ID:Date:Subject:To:From:Reply-To:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=Br/8oo/SrjoNFZV/vAJTI4OUp48p9jwcf+Uf9DDKlD8=; b=hiGL1Nz9fqIsz/T/6TLJ4LrTl 5Uy+F+ZrgeIYg08/MyDYzGsI8u6SqRT6LCJFOR0KIjZLORaQC+hvg4er1P3uINXDjs4B1S97DDxey E4tzEOXazIaD0srtnLf2bt3JCHRrk/wR0AYnXqcomNSjotjT3OJHTyfcYNxAZIO4B8QNDaGt1+MKf tP+ltTqXL2U2mCOGYtpbOXI+vc/k+EAgpE7N1KpEvZyH0IGIUrH96YqUv3xg0QA9JXZYlqSGRJuyq qk2hQ+KJDplO7/4E6ip3m3D74J6sEX53qSWxD8740h+DTlSO8bcRUO50R6tk+ZOEIChD1lOUey7im N/saFuUYQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kY2pU-0004H2-T2; Thu, 29 Oct 2020 07:58:40 +0000 Received: from mx07-00178001.pphosted.com ([185.132.182.106]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kY2pR-0004F0-Pa for linux-arm-kernel@lists.infradead.org; Thu, 29 Oct 2020 07:58:38 +0000 Received: from pps.filterd (m0046037.ppops.net [127.0.0.1]) by mx07-00178001.pphosted.com (8.16.0.42/8.16.0.42) with SMTP id 09T7vAWa013935; Thu, 29 Oct 2020 08:58:32 +0100 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=st.com; h=from : to : cc : subject : date : message-id : references : in-reply-to : content-type : content-id : content-transfer-encoding : mime-version; s=STMicroelectronics; bh=XV/PGflp4CJVwMij+k8693KpWraYm+Qoc900pW4/PaI=; b=NZrMALknbTwyhNicvs1u9rf0kVJIZtr2TVhVQKgt+ARzAT40WxunZ1er/GkJsvltZszC tH14XisGANnIE6YurU17mavzCx0nFZXcaxSWnSbUS2Pz343Y+xoTfB0KP1B/xTtn/A4Z d5VxfXZugwJTpuQzKXiV3PZamQq7MfxFaJz4jqn9jq7G+amfpPM0PM4dAkkDpEUOA7Go CZhFklvdj0zU0VIR0Ji3v2WvYhXVh15P6JTrnuVEEZIng+7oE3J5VF/qS1NGLjlCF9WJ CNiD8W+IOS55kDlFLJCWWYae84+cJp7PwOP/G1j8n01fCDXiLgaHl8uOhN1ED2ohvBNx Fg== Received: from beta.dmz-eu.st.com (beta.dmz-eu.st.com [164.129.1.35]) by mx07-00178001.pphosted.com with ESMTP id 34ccj26gny-1 (version=TLSv1.2 cipher=ECDHE-RSA-AES256-GCM-SHA384 bits=256 verify=NOT); Thu, 29 Oct 2020 08:58:32 +0100 Received: from euls16034.sgp.st.com (euls16034.sgp.st.com [10.75.44.20]) by beta.dmz-eu.st.com (STMicroelectronics) with ESMTP id 2880B10002A; Thu, 29 Oct 2020 08:58:31 +0100 (CET) Received: from Webmail-eu.st.com (sfhdag2node3.st.com [10.75.127.6]) by euls16034.sgp.st.com (STMicroelectronics) with ESMTP id 18CA0230AD9; Thu, 29 Oct 2020 08:58:31 +0100 (CET) Received: from SFHDAG2NODE3.st.com (10.75.127.6) by SFHDAG2NODE3.st.com (10.75.127.6) with Microsoft SMTP Server (TLS) id 15.0.1473.3; Thu, 29 Oct 2020 08:58:30 +0100 Received: from SFHDAG2NODE3.st.com ([fe80::31b3:13bf:2dbe:f64c]) by SFHDAG2NODE3.st.com ([fe80::31b3:13bf:2dbe:f64c%20]) with mapi id 15.00.1473.003; Thu, 29 Oct 2020 08:58:30 +0100 From: Patrice CHOTARD To: Coiby Xu , Guenter Roeck , "Wim Van Sebroeck" Subject: Re: [PATCH 2/3] watchdog: st_lpc_wdt: remove unnecessary CONFIG_PM_SLEEP Thread-Topic: [PATCH 2/3] watchdog: st_lpc_wdt: remove unnecessary CONFIG_PM_SLEEP Thread-Index: AQHWrcioFNV8nEJJDUWW2CVWTCiEIqmuJjyA Date: Thu, 29 Oct 2020 07:58:30 +0000 Message-ID: <23c07a77-2ce3-1ebd-c8d7-001cd896f157@st.com> References: <20201029075327.228570-1-coiby.xu@gmail.com> <20201029075327.228570-2-coiby.xu@gmail.com> In-Reply-To: <20201029075327.228570-2-coiby.xu@gmail.com> Accept-Language: fr-FR, en-US Content-Language: en-US X-MS-Has-Attach: X-MS-TNEF-Correlator: user-agent: Mozilla/5.0 (X11; Linux x86_64; rv:68.0) Gecko/20100101 Thunderbird/68.10.0 x-ms-exchange-messagesentrepresentingtype: 1 x-ms-exchange-transport-fromentityheader: Hosted x-originating-ip: [10.75.127.46] Content-ID: <9030CB49FBBA024DBA76FE5721EDE49E@st.com> MIME-Version: 1.0 X-Proofpoint-Virus-Version: vendor=fsecure engine=2.50.10434:6.0.312, 18.0.737 definitions=2020-10-29_03:2020-10-29, 2020-10-29 signatures=0 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201029_035838_061917_27C07EBD X-CRM114-Status: GOOD ( 22.74 ) 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: "open list:WATCHDOG DEVICE DRIVERS" , "moderated list:ARM/STI ARCHITECTURE" , open list 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 Hi Coiby On 10/29/20 8:53 AM, Coiby Xu wrote: > SIMPLE_DEV_PM_OPS has already took good care of CONFIG_PM_CONFIG. > > Signed-off-by: Coiby Xu > --- > drivers/watchdog/st_lpc_wdt.c | 2 -- > 1 file changed, 2 deletions(-) > > diff --git a/drivers/watchdog/st_lpc_wdt.c b/drivers/watchdog/st_lpc_wdt.c > index 14ab6559c748..c1428d63dc9e 100644 > --- a/drivers/watchdog/st_lpc_wdt.c > +++ b/drivers/watchdog/st_lpc_wdt.c > @@ -248,7 +248,6 @@ static int st_wdog_remove(struct platform_device *pdev) > return 0; > } > > -#ifdef CONFIG_PM_SLEEP > static int st_wdog_suspend(struct device *dev) > { > struct st_wdog *st_wdog = watchdog_get_drvdata(&st_wdog_dev); > @@ -285,7 +284,6 @@ static int st_wdog_resume(struct device *dev) > > return 0; > } > -#endif > > static SIMPLE_DEV_PM_OPS(st_wdog_pm_ops, > st_wdog_suspend, Reviewed-by: Patrice Chotard Thanks Patrice _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel