Received: by 2002:a05:6a10:16a7:0:0:0:0 with SMTP id gp39csp1137587pxb; Fri, 6 Nov 2020 01:50:12 -0800 (PST) X-Google-Smtp-Source: ABdhPJzoD+bC7OcLKv4cChq0CPsC8o4KCflG4Gmn3evIDZwewbsFs9mAUW9RMHnXOY2FuifXE6OT X-Received: by 2002:a50:e087:: with SMTP id f7mr1109942edl.96.1604656212100; Fri, 06 Nov 2020 01:50:12 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1604656212; cv=none; d=google.com; s=arc-20160816; b=hq5/l3zOiJ4Zz+/AtqFf1k4Y4G2d0MNUG4F1h3XRRa83XnpOJD/8p6ucX33xG7fNFG FwoJgEVHk6y70Q3nf5K59Cr8TBI1NNQbQ6JwqMnPI7OaNJZz9fDp0ZOdhmR50BUFxh2d izgWg5ROV1cdddgh6vXPg+HCOOsJYu4EbY04mymu7ZpNslHrs5Q3h0ESecEc2lj4Yvfx 1XjOaBa0/6B0ZSJOtrCj5RHmr3NwMwJ6nzjtbAyGM203510FIQGzZ6lTnVc6D2dT/fwm IEPlrPoSPurcFMvxmwEQs4rCcGJHPTNZnGGMZSSEcCqtyOeZ5AxFqhpbrLPKn6JyBJjI 5Pcw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=23W4y+M6abuLudmZYHb5EuUWkPwY6lV1mseRyEhWEi8=; b=mQwHKMGW/ZijkZFGE2z8TLRijf5v0Ilkw/LZ7Rs18QeK3iGhcSCJhYxpD/WNv6JNXm uISIRVzBSR+Yv/IP5ARFJxg+k6DGLKL5J+G27Ifg8pz7JgHJSUOG+h2SA2PF2cC6qNFZ 95kYmWZiAMlVmgzTPl8uieoii8WAfRb2qFIEA1aPy35GrD0j+vgPX1gDCkg5j4pXmlZL pT6noy9JsqrvFBin6m/US9lE/Hq04FfnUnbEWSKbeYhguL48bSvt6PHgVGEBejgnLqsH bqZ3RTpCEexZJFb7tBRyq4F5ucbaWXbzh92Tjw2hoZlMgzoyt9CAyF8yYaEjWE+aCVaY 4L6w== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=mCza6PKG; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [23.128.96.18]) by mx.google.com with ESMTP id m6si453205ejb.721.2020.11.06.01.49.49; Fri, 06 Nov 2020 01:50:12 -0800 (PST) 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=@linaro.org header.s=google header.b=mCza6PKG; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1726974AbgKFJrh (ORCPT + 99 others); Fri, 6 Nov 2020 04:47:37 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:55916 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726931AbgKFJrh (ORCPT ); Fri, 6 Nov 2020 04:47:37 -0500 Received: from mail-vk1-xa41.google.com (mail-vk1-xa41.google.com [IPv6:2607:f8b0:4864:20::a41]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 5A125C0613CF for ; Fri, 6 Nov 2020 01:47:36 -0800 (PST) Received: by mail-vk1-xa41.google.com with SMTP id d191so108882vka.13 for ; Fri, 06 Nov 2020 01:47:36 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=23W4y+M6abuLudmZYHb5EuUWkPwY6lV1mseRyEhWEi8=; b=mCza6PKGULKR3KSLVi71jaHeGa6jbvf6eXzzXIBvNZeyIvCsGCa0s69whdIqeCnP5h mBXASZSIMWro685Lrr3eqyNcGTqYWXcWrkmSjeghCw/RZcqBPaXJs2pxzzmkC37gHMRK 3JrHTfZywnCyf11o6Inei30zBTKv+nQNQGq04ubzXiaWxwoQfGdqG00g1CqlJGsB/BCy SF+PPXvk4D69igY9N+Jk/R+pI2iIYDoA5XrYnZBYwQnr9ejxhUSjMb4vvY7rT7KHcnbY 27llEWNDyIS8qOTbGquBtsENdCDqQCx6NlIdaaRmBu5bYBGDhw2TSMH51pVRSps4IBkw RIYA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=23W4y+M6abuLudmZYHb5EuUWkPwY6lV1mseRyEhWEi8=; b=J7vAzdc1/qoffwKM4vTKmuDI4aZmIjHkjz8eEQ0VgPIxjQyRRbO0zprtOO3xhVvoZ3 r4AT0h2zGpLjct3yLU1Vt6eP51LV2Yv3ZEUIW+MpA9paN/akxr+oUH9COVoRwTZgnlHi dtIUPXHTgLgpW9ogCFHSWkblnLkNXCxAZGWwOSKHmY/8/X0rffO5ItocoqfqcUXC/kUv 2k5k4c93D5UwL27wDVLnyU8C16/STUMnjt3nyNux5JsTa5J3rt9KVdoyCYTI/nlkx6W8 ZVfOLBSI5b+uDDgLYoN6Vs5u7YtIV+GwDcAzmv2A2eAq729hpBIWeywMox7B0TR159Kq yI6A== X-Gm-Message-State: AOAM530DkjeXTmYZd9/jhOcl5eR0n+5MWGyJ8j0mjxPe2o4Tq9GE1jNr 2+IeM18iJgaKFf0cCz2RBoAjLEumkscjwmMo5QhDOQ== X-Received: by 2002:a1f:9682:: with SMTP id y124mr465715vkd.6.1604656055569; Fri, 06 Nov 2020 01:47:35 -0800 (PST) MIME-Version: 1.0 References: <20201106073358.8379-1-patrice.chotard@st.com> In-Reply-To: <20201106073358.8379-1-patrice.chotard@st.com> From: Ulf Hansson Date: Fri, 6 Nov 2020 10:46:58 +0100 Message-ID: Subject: Re: [PATCH v1 0/4] PM: Add dev_wakeup_path() helper To: Patrice CHOTARD Cc: "Rafael J . Wysocki" , Linux PM , Linux Kernel Mailing List , Kevin Hilman , Erwan Le Ray , Alexandre TORGUE , Fabrice Gasnier , Pierre-Yves MORDRET , amelie.delaunay@st.com Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, 6 Nov 2020 at 08:34, wrote: > > From: Patrice Chotard > > Add dev_wakeup_path() helper to avoid to spread > dev->power.wakeup_path test in drivers. > > Cc: amelie.delaunay@st.com, > erwan_leray@st.com, > fabrice.gasnier@st.com, > alexandre.torgue@st.com, > alain.volmat@st.com, > pierre-yves.mordret@st.com > > *** BLURB HERE *** :-) > > Patrice Chotard (4): > PM / wakeup: Add dev_wakeup_path() helper > PM: domains: Make usage of device_wakeup_path() helper > PM: core: Make usage of device_wakeup_path() helper > i2c: stm32f7: Make usage of dev_wakeup_path() helper > > drivers/base/power/domain.c | 4 ++-- > drivers/base/power/main.c | 4 ++-- > drivers/i2c/busses/i2c-stm32f7.c | 4 ++-- > include/linux/pm_wakeup.h | 10 ++++++++++ > 4 files changed, 16 insertions(+), 6 deletions(-) > > -- > 2.17.1 > For the series: Reviewed-by: Ulf Hansson Kind regards Uffe