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=-9.6 required=3.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,FREEMAIL_FORGED_FROMDOMAIN,FREEMAIL_FROM, HEADER_FROM_DIFFERENT_DOMAINS,INCLUDES_PATCH,MAILING_LIST_MULTI,SIGNED_OFF_BY, SPF_HELO_NONE,SPF_PASS,URIBL_BLOCKED autolearn=unavailable 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 D2CCFC56201 for ; Thu, 29 Oct 2020 14:52:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 73645206B5 for ; Thu, 29 Oct 2020 14:52:23 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IQGt3DMq" Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727846AbgJ2OwW (ORCPT ); Thu, 29 Oct 2020 10:52:22 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:40490 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726166AbgJ2OwV (ORCPT ); Thu, 29 Oct 2020 10:52:21 -0400 Received: from mail-pg1-x542.google.com (mail-pg1-x542.google.com [IPv6:2607:f8b0:4864:20::542]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id D30C9C0613CF; Thu, 29 Oct 2020 07:52:21 -0700 (PDT) Received: by mail-pg1-x542.google.com with SMTP id o3so2513146pgr.11; Thu, 29 Oct 2020 07:52:21 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=2G8CnpKK6+67EHQVBPTyrPyoBH8LLNozBap+IfDR+/o=; b=IQGt3DMqLz87CRtjaOJ3TYh0QcvAvvIO46cUV9KhLMh3/qSf7/tFSRI60AUwmYXLeZ WG0IGeBo4eeLUsdVnIOpePLH3IpiRaKnWJCxULwvL4KdcPJm0V+lloRoFopU6Zwf+bC1 7KIH+E2xIiQrdx79KvqbkzwfauX+qy4txaYVbyoc36oEDBv15pP1k1fiJeVKiT+1rEEr rMm2UFFI94mznG2KaqnfYzTkss4j2ly9lqT1o2YZr/17Ny6hdz+eI/7C6yEIlrwlw0+K HeXBw4nLwIZL0/bPBpvsBrKMV2/a0LjhxnQuP73+egDjETnzJJgieOWAeD7DK627uEP7 /aqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=2G8CnpKK6+67EHQVBPTyrPyoBH8LLNozBap+IfDR+/o=; b=lodKfYKnbUuOkzqqSPu452FMr0K/5r/gvSHa5UY31yaISTyF+NYCntjlGyPS9PZba0 MxQAfkIzVYmKoJkWuBSVlUG94zn0cWParHyc1I4Nf0GeqXyyd393i15GH1BdyDrs23JK nncvezYawk5mYtXj+iIi8DzX0vSHreihcb7Mv9f5zWLuXprubEIkDZxzOqK/LHGEtiew pk8Oyy+SxToqa+JC4mUZ2DQJT5X42RJOzjRWWPM+LmskH9uYcvRo0ek49l3Y33f4s8hX 4sjBo2qj0eHqIB62XkxdRVLxEg94gyABjK6RvSeEa8vbg75vvMK+fbgLurMGsW8SeAOp u0rg== X-Gm-Message-State: AOAM5313HxqR3MVuRGnI2IZIHDb1wwL9w+7T9UIo4GqeUqy1L8G2VaGA fme1ycUVW0DNrKhRU26QqcLKi/mHoSUyeK+W X-Google-Smtp-Source: ABdhPJzkdCx+zFAyXHmjcMjnibIFzQfqXhRKV02REe1Sovb7PWKVfzdFmIZEtUCrxyi24Z9Cz73xKw== X-Received: by 2002:aa7:9f0b:0:b029:160:1145:f0d1 with SMTP id g11-20020aa79f0b0000b02901601145f0d1mr4657065pfr.56.1603983141419; Thu, 29 Oct 2020 07:52:21 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id t13sm3270702pfc.1.2020.10.29.07.52.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 07:52:20 -0700 (PDT) From: Coiby Xu X-Google-Original-From: Coiby Xu Date: Thu, 29 Oct 2020 22:51:55 +0800 To: Patrice CHOTARD Cc: Guenter Roeck , Wim Van Sebroeck , "moderated list:ARM/STI ARCHITECTURE" , "open list:WATCHDOG DEVICE DRIVERS" , open list Subject: Re: [PATCH 2/3] watchdog: st_lpc_wdt: remove unnecessary CONFIG_PM_SLEEP Message-ID: <20201029145155.7ihr3nfjuuufao4d@Rk> References: <20201029075327.228570-1-coiby.xu@gmail.com> <20201029075327.228570-2-coiby.xu@gmail.com> <23c07a77-2ce3-1ebd-c8d7-001cd896f157@st.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii; format=flowed Content-Disposition: inline In-Reply-To: <23c07a77-2ce3-1ebd-c8d7-001cd896f157@st.com> Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Oct 29, 2020 at 07:58:30AM +0000, Patrice CHOTARD wrote: >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 > Thank you for reviewing the patch and giving the credit despite the compiling issue with CONFIG_PM_SLEEP disabled as pointed by Guenter and others:) >Thanks > >Patrice -- Best regards, Coiby 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=-9.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 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 8A1D7C2D0A3 for ; Thu, 29 Oct 2020 14:52:57 +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 D1200206E5 for ; Thu, 29 Oct 2020 14:52:56 +0000 (UTC) Authentication-Results: mail.kernel.org; dkim=pass (2048-bit key) header.d=lists.infradead.org header.i=@lists.infradead.org header.b="UrjYQoIS"; dkim=fail reason="signature verification failed" (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="IQGt3DMq" DMARC-Filter: OpenDMARC Filter v1.3.2 mail.kernel.org D1200206E5 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-Type: Content-Transfer-Encoding:Cc:List-Subscribe:List-Help:List-Post:List-Archive: List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References:Message-ID: Subject:To:Date:From:Reply-To:Content-ID:Content-Description:Resent-Date: Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID:List-Owner; bh=iiU303YuUP6Rlh1t/GWlYaaAM3AvhwIEAeTBX9owRnc=; b=UrjYQoISobMyClB+0SvgsNlnw RsoDql+AopzwumhfpfkwIYhdWDtDPuw9wrd0HFZHTq80oSMz1bQv2XcgQC3QNVoUwmaJe2ThN6u22 pN8MBbR0OGh5S354MRFPS3J8Hx/w9yNGyTb56MKj4JDaVYEMa4B9EuiAwZ0Qxw4PvbNQy3lD4eeVp LwG8NefgNAVSAFrZvvbeFGoTXgIEs8gSbAuZmoKVwsGJCpkTKBlGiC2gdrr/TvGdSdXQrpkq4MH13 fa74YiR5nvRKgKgjuvsINuR4XdteDNLdLx5WafbVnZFCXWHk2LOgIMZY9kwduPLdlr55k/Z7Vd+tz m3rVP5fAQ==; Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.92.3 #3 (Red Hat Linux)) id 1kY9Hx-0002lB-O6; Thu, 29 Oct 2020 14:52:29 +0000 Received: from mail-pg1-x541.google.com ([2607:f8b0:4864:20::541]) by merlin.infradead.org with esmtps (Exim 4.92.3 #3 (Red Hat Linux)) id 1kY9Hr-0002j8-H6 for linux-arm-kernel@lists.infradead.org; Thu, 29 Oct 2020 14:52:24 +0000 Received: by mail-pg1-x541.google.com with SMTP id i7so600863pgh.6 for ; Thu, 29 Oct 2020 07:52:23 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:date:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to; bh=2G8CnpKK6+67EHQVBPTyrPyoBH8LLNozBap+IfDR+/o=; b=IQGt3DMqLz87CRtjaOJ3TYh0QcvAvvIO46cUV9KhLMh3/qSf7/tFSRI60AUwmYXLeZ WG0IGeBo4eeLUsdVnIOpePLH3IpiRaKnWJCxULwvL4KdcPJm0V+lloRoFopU6Zwf+bC1 7KIH+E2xIiQrdx79KvqbkzwfauX+qy4txaYVbyoc36oEDBv15pP1k1fiJeVKiT+1rEEr rMm2UFFI94mznG2KaqnfYzTkss4j2ly9lqT1o2YZr/17Ny6hdz+eI/7C6yEIlrwlw0+K HeXBw4nLwIZL0/bPBpvsBrKMV2/a0LjhxnQuP73+egDjETnzJJgieOWAeD7DK627uEP7 /aqA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:date:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to; bh=2G8CnpKK6+67EHQVBPTyrPyoBH8LLNozBap+IfDR+/o=; b=qohQnUBD0s4RxLo5jTG4yLSw8rPVOR4zTvLyMoVf247LXe52OT2fjdRi2s8tNFyhuo RHIt0a5gwt8mXQGsEranSyCDoJjbEBsxxm5oJTVs09G+z36blMbEXsQkpooC0yzGNt3M WKHMbrgjfftjfRYR3+NoLO6xBiuWbW1iZB34nth0cQj7QR5kJ3ipvXAxemhC+XAJv7zs q2inDC1MJkMk4Iu8D4c02t6G1XIB5ZGu0uPgLGM+IW8WL/mKDbYmXwwQspElRUXZwINd J96ISEj1u0jKHfs5cbegJ1yFC8YSI8ZtESPVwwD7vmO1pHUiAKZ6yJXw1K4nAYvgOWGY VsVg== X-Gm-Message-State: AOAM532URo1m9Sgqc+na3j6yHeTC2UlVO36no5Az7qDTuHLNePs5aWlV 7xIQQtK4dTp3bHNmJlMghBE= X-Google-Smtp-Source: ABdhPJzkdCx+zFAyXHmjcMjnibIFzQfqXhRKV02REe1Sovb7PWKVfzdFmIZEtUCrxyi24Z9Cz73xKw== X-Received: by 2002:aa7:9f0b:0:b029:160:1145:f0d1 with SMTP id g11-20020aa79f0b0000b02901601145f0d1mr4657065pfr.56.1603983141419; Thu, 29 Oct 2020 07:52:21 -0700 (PDT) Received: from localhost ([2409:8a28:3c42:6840:9efc:e8ff:fef2:1cdc]) by smtp.gmail.com with ESMTPSA id t13sm3270702pfc.1.2020.10.29.07.52.19 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Thu, 29 Oct 2020 07:52:20 -0700 (PDT) From: Coiby Xu X-Google-Original-From: Coiby Xu Date: Thu, 29 Oct 2020 22:51:55 +0800 To: Patrice CHOTARD Subject: Re: [PATCH 2/3] watchdog: st_lpc_wdt: remove unnecessary CONFIG_PM_SLEEP Message-ID: <20201029145155.7ihr3nfjuuufao4d@Rk> References: <20201029075327.228570-1-coiby.xu@gmail.com> <20201029075327.228570-2-coiby.xu@gmail.com> <23c07a77-2ce3-1ebd-c8d7-001cd896f157@st.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <23c07a77-2ce3-1ebd-c8d7-001cd896f157@st.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20201029_105223_682133_18B15E3A X-CRM114-Status: GOOD ( 16.09 ) 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 , Wim Van Sebroeck , "moderated list:ARM/STI ARCHITECTURE" , Guenter Roeck , "open list:WATCHDOG DEVICE DRIVERS" Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="us-ascii"; Format="flowed" Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Thu, Oct 29, 2020 at 07:58:30AM +0000, Patrice CHOTARD wrote: >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 > Thank you for reviewing the patch and giving the credit despite the compiling issue with CONFIG_PM_SLEEP disabled as pointed by Guenter and others:) >Thanks > >Patrice -- Best regards, Coiby _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel