Received: by 2002:a05:6358:7058:b0:131:369:b2a3 with SMTP id 24csp5990257rwp; Mon, 17 Jul 2023 12:54:26 -0700 (PDT) X-Google-Smtp-Source: APBJJlFIxU3EK3zszyCpr/dqjCedK/C8NBGHgn0ufAUoWkmR4U9fvuMeHDjJjUXeeLcN0sM/c28C X-Received: by 2002:a05:6a00:16c1:b0:668:9dca:13ac with SMTP id l1-20020a056a0016c100b006689dca13acmr16920842pfc.7.1689623666086; Mon, 17 Jul 2023 12:54:26 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1689623666; cv=none; d=google.com; s=arc-20160816; b=Vi5kq2CEqOZacAuZoMdF4pNoudj2CXWOHPL9gYCspYPraM88hUERz2jiZZoXjRd8nR qoxfJ3Vhx4t+2uSoQdhgKLxAS2NEkzlkWmIhwDp4nyDI2C+VqmJ0RxYL9Uo5EDDLiovS pH+C7/naDqw4TpVy0m4eLgQ6FqnTgAQOLNNsWS7s8JoBv5fvro3EkHWpq9F8gNAaDU4Y Dp6muCqz9wvqdEC4+eFniuwHHM/6KHidFg6rcXBwjR27exYI3goyLCkPxMoJ6xpl1vEL W2URyKia12Zk0uXVmfgUkwb8PZ0uybfgEholET80PRmlbCchWaFkx+x4tKoJOApOGvjh cnlQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=NYJ6kOFjamhBvRAj7/wxocueNoAM4M+pGSMxfmWyQFo=; fh=L9EiziJgSO5pr/FZ/c0Y8ag3gsUqVyxA5siqfsOkXYw=; b=Ww+j45pwYbaCuDRz4qYApRNHINl7NEDdgD0DcfBTuSjjy0DxlyK0Q0R4nup40mKzTq KEvT6xAVkYdzajOP6x/AknajnC/a2yr7AFeQMMY6AmTU9g5c7yKoIH/+AWJaAU7/2Gf2 sfilCIUckgOWs/5u2GT0Gg+eSl2XfHL0f9O1SSer5sv15jF5nd0PR2kV2+HTnNE7lVy9 JkkJ0vD3oFVYcYanv9ocKpfz1qyLS+FFKzA7Gg3ON0yKpxUrcmusBefkN5U/yu2TUFD5 wUa4n+qNVWOpv2Ppjb6h6KgRsxCXfQLt3TFM4Hks3CD/eTBXEl2ZPTQbrpI94L3kv9wl B4sw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=PIP2Rn6t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id cv5-20020a056a0044c500b0067dd7254cb0si300311pfb.39.2023.07.17.12.54.13; Mon, 17 Jul 2023 12:54:26 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20221208 header.b=PIP2Rn6t; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S231705AbjGQTgJ (ORCPT + 99 others); Mon, 17 Jul 2023 15:36:09 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:36614 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S231368AbjGQTfz (ORCPT ); Mon, 17 Jul 2023 15:35:55 -0400 Received: from mail-ej1-x62b.google.com (mail-ej1-x62b.google.com [IPv6:2a00:1450:4864:20::62b]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 0B5ECBB; Mon, 17 Jul 2023 12:35:54 -0700 (PDT) Received: by mail-ej1-x62b.google.com with SMTP id a640c23a62f3a-9939fbb7191so1009632366b.0; Mon, 17 Jul 2023 12:35:53 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20221208; t=1689622552; x=1692214552; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=NYJ6kOFjamhBvRAj7/wxocueNoAM4M+pGSMxfmWyQFo=; b=PIP2Rn6tpp78cegzxLwoIVwZ4FoBHshqHfqr5nt5sFzhQBvh53GF/tVZ6bCY4fOp/5 KetATrSe/jBBRw8duCXzr0oy0PkUOSeVKHyxaTYZY3cg3IEcD4wp68j156/IDK7juTqa PUQQSHBBwReNEkc4GfkEqyqyUQbnEzxSq4K3Oj8piOrGRe4QbZF6bCw6SYmY93TDBJnm 9LMTy0R/Cvm3TEhwgFe6oVgVZ6EDWHLMBpZoM120061PxwrCycG3JFe3B2ac4nC5MUac UGwJJulRDn+UFcdkYS1OBa9V09CD++NvoB3oSd7vUTk6IZqcVKkREUhTvZHhWd17hT4x 0GZw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20221208; t=1689622552; x=1692214552; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:x-gm-message-state:from:to:cc :subject:date:message-id:reply-to; bh=NYJ6kOFjamhBvRAj7/wxocueNoAM4M+pGSMxfmWyQFo=; b=gi1F9r9h9fHiP780En7mEJh2Se4p8VCjDXJfncqZ90/Ga9DV8UHC+EFKMEFTy+fSGg ni9RRba1Xb57i9l2EoolwxM7swdBOX4EtJjkIe8ROrygyneJu1C4lAYrQyOIalorOLi0 x6EzneQN+XW0pC+KNDveQRS/jvDvsbyCGJunro/uK3EGKbKBJF2BLYAalJ0oebgraTZS doLubK5Iz0/d6jq1J0dYW0z3fL7hRU5Iw3we8DYLexaaoKf/h6LyEtSN+8nuwqF2Lpxr EJjUisjL3rLk6OCvBwsu/GAXa4fHXhbNL9SN9DkCdzu22FkLFgQwhgjnv0kvPikLMQBZ t5Qg== X-Gm-Message-State: ABy/qLZjHClLGacAxmseGQ/ObjfZyMwaPotTY+RxOL2ZeUMDhq6h/8Di VIZdMTo9Dr80cWXXlzUETswiSM07HICFixYl+vA= X-Received: by 2002:a17:906:1da:b0:994:54d1:ff57 with SMTP id 26-20020a17090601da00b0099454d1ff57mr10191773ejj.4.1689622552398; Mon, 17 Jul 2023 12:35:52 -0700 (PDT) MIME-Version: 1.0 References: <20230717172821.62827-1-andriy.shevchenko@linux.intel.com> <20230717172821.62827-7-andriy.shevchenko@linux.intel.com> In-Reply-To: From: Andy Shevchenko Date: Mon, 17 Jul 2023 22:35:16 +0300 Message-ID: Subject: Re: [PATCH v2 06/10] pinctrl: at91: Switch to use DEFINE_NOIRQ_DEV_PM_OPS() helper To: Paul Cercueil Cc: Andy Shevchenko , Mika Westerberg , Linus Walleij , Balsam CHIHI , Claudiu Beznea , Geert Uytterhoeven , Wolfram Sang , Thierry Reding , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-mediatek@lists.infradead.org, linux-arm-kernel@lists.infradead.org, linux-renesas-soc@vger.kernel.org, linux-tegra@vger.kernel.org, linux-pm@vger.kernel.org, Andy Shevchenko , Sean Wang , Matthias Brugger , AngeloGioacchino Del Regno , Andrew Lunn , Gregory Clement , Sebastian Hesselbarth , Ludovic Desroches , Nicolas Ferre , Alexandre Belloni , Jonathan Hunter , "Rafael J. Wysocki" , Len Brown , Pavel Machek Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_BLOCKED,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Mon, Jul 17, 2023 at 10:26=E2=80=AFPM Paul Cercueil wrote: > Le lundi 17 juillet 2023 =C3=A0 20:28 +0300, Andy Shevchenko a =C3=A9crit= : > > Since pm.h provides a helper for system no-IRQ PM callbacks, > > switch the driver to use it instead of open coded variant. > > > > Signed-off-by: Andy Shevchenko > > Reviewed-by: Paul Cercueil Thank you! > Although you could add a bit more info in the message of this patch, to > explain why it's OK to remove the __maybe_unused tags (the code is > always visible) and why switch from pm_ptr() to pm_sleep_ptr() (it's > only used for system-PM callbacks). Sure. --=20 With Best Regards, Andy Shevchenko