Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp1030135iob; Fri, 13 May 2022 20:17:02 -0700 (PDT) X-Google-Smtp-Source: ABdhPJwjSMR1QSncgYUW/AkpgrJjqMXAKJK3IQSPFsK9AubEyS7caWZKN+Nn2UO3SvwlVmCJOsew X-Received: by 2002:a7b:c74f:0:b0:394:1ce3:cc42 with SMTP id w15-20020a7bc74f000000b003941ce3cc42mr17082098wmk.153.1652498221842; Fri, 13 May 2022 20:17:01 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652498221; cv=none; d=google.com; s=arc-20160816; b=BIoyDVv7e90eGmVsJ7KaKUIB3Hhdy59mzgYD7QdtZ/jkqsdGDrIILzTERTtALoKNgH dZQK7e9KPBYnP6moIv1e9STxFzq9+tbTGG50yxMZYVG5g17x2tMY3saAkxSVtGlUc6Ai rOqZmKQ8Xa15W1gFVtndprpjE1RhUfCruY49GY1oVr+s35plrENv1g4qCvj4l+P+MY4E Ln9qSbR+i8BhTr9yoHfd0R9MOgisnExKRlz+B5SFYb0IN5vNSN6InHGTyEkup07H9LTm P9gzvViXQ5s+zxAAPs+dX06icRgiwVSGsn95wNUdAEEm1p9+OmjJKFw6t0er+NmY4zIs VZLw== 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=3BpKCW0mAZxesf8MD9gQhcGX4ZUphV6PxZU1r5+tMQ4=; b=B0FPKp1AEvY0AHQXGSwoRcXjZZOCD1gizsoodbpgx0Dwg66NrcDZI3xjSGufyiImvf RwPdcCrEOGU/E27kPZ5cvEGV7OuW5c5iX72K321+/OntKF+u8dt4HDh3iY2GIBhs2/R4 2KRGJJXJLEp9knJgdFaYhDfQhJ9OwyMhoyOS9/tiHmioBoJG6mwDIolt+UVNqKqzKIZS Ioummuc8jRuRLHsAQDlM7Bjghzixnx/wQeWhaz1+eG06yBtvwbXzYT8ohV8jAqKYE5Pg guV7OX6hgNUIVzTjHRQ1TCsFexl5NiDiNTU14CDd4t2ApyolQ4XOM20XPmw/OvXau+W3 uYhQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aIMWf1OM; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 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 lindbergh.monkeyblade.net (lindbergh.monkeyblade.net. [23.128.96.19]) by mx.google.com with ESMTPS id c23-20020a05600c0ad700b003948e966d45si5976800wmr.171.2022.05.13.20.17.01 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Fri, 13 May 2022 20:17:01 -0700 (PDT) Received-SPF: softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) client-ip=23.128.96.19; Authentication-Results: mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=aIMWf1OM; spf=softfail (google.com: domain of transitioning linux-kernel-owner@vger.kernel.org does not designate 23.128.96.19 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=NONE dis=NONE) header.from=linaro.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id D54033E6C81; Fri, 13 May 2022 16:55:57 -0700 (PDT) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1384506AbiEMUxY (ORCPT + 99 others); Fri, 13 May 2022 16:53:24 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:56074 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1356811AbiEMUxW (ORCPT ); Fri, 13 May 2022 16:53:22 -0400 Received: from mail-yw1-x1133.google.com (mail-yw1-x1133.google.com [IPv6:2607:f8b0:4864:20::1133]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 803722558B for ; Fri, 13 May 2022 13:53:21 -0700 (PDT) Received: by mail-yw1-x1133.google.com with SMTP id 00721157ae682-2f7d621d1caso101992497b3.11 for ; Fri, 13 May 2022 13:53:21 -0700 (PDT) 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=3BpKCW0mAZxesf8MD9gQhcGX4ZUphV6PxZU1r5+tMQ4=; b=aIMWf1OMDIoIe5YoZsrtM/JaUfXehGm5I0Rlj+NfC7dRIpV/fhFhqt90I7aA7z1DU7 7/hda/0xHror5lqtewr82JP49Lp6JaC6rFVNI0c04hYxER/fkSIfC8PvPemTJMehmxiI EzTNmPrDt/xFkwf62psgBsqN/T06UEucWqGtG3g64zUMMJwUpwwTOSWUnrZgVeQheoCI EoyBdAXfWgIKZqBx+3IXftTc3Li97z92rd7T+PV5ZNEvdSaHDMBgTgizMcSU/3YrxexX WFWnY9kSAVT+pXA7/yEGBcxWzf/uw2NLOIjbEI3ZHpt5uVo9/s/YZPRuHn4phrU1zZLc sUiQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc; bh=3BpKCW0mAZxesf8MD9gQhcGX4ZUphV6PxZU1r5+tMQ4=; b=l+uImEjHQbTTYK/WRir5CopvjSz/hBiv9qiL0CfhUucRwXHvgpyi4ktcCMY8KeK3Rr jVT6N5ULcp0bBZN1eVPxcbSMDDWWpZL0MPvTKGjG3V7or9sHwFDm+zDYDiazP6gTI1me WVc6m62NjRNXIgD2u1/VtbkhHX17ZbD9Vx1JQ7HYGwuLyn0BKhJ3YRWO6JwpOMxGnB07 xz4quSVzWHWXsNdKi4cuELXgAADjWDyVTW4bc4e3J5y9590u+ig01fpEheUlBLEWUGwE pHEHEvgcF74WMkxIzt8ly94GuuynqYTeuAVTCOK462fTaXHUaBHraE9GPF2DV7iJyJKt p+Og== X-Gm-Message-State: AOAM530jTg+m3+OSBISI31H72nDiEXsbD5uf7hSniu7vKGIgJWZFtZlj XVkmJ05kPcX5q+cEQ9lN5Ie2k2IMjUcbxy1WH4dZjg== X-Received: by 2002:a0d:e612:0:b0:2fb:103f:4067 with SMTP id p18-20020a0de612000000b002fb103f4067mr8029998ywe.151.1652475200755; Fri, 13 May 2022 13:53:20 -0700 (PDT) MIME-Version: 1.0 References: <20220512173921.8210-1-andriy.shevchenko@linux.intel.com> <20220512173921.8210-2-andriy.shevchenko@linux.intel.com> In-Reply-To: <20220512173921.8210-2-andriy.shevchenko@linux.intel.com> From: Linus Walleij Date: Fri, 13 May 2022 22:53:09 +0200 Message-ID: Subject: Re: [PATCH v1 2/5] Documentation: gpio: Advertise irqd_to_hwirq() helper in the examples To: Andy Shevchenko Cc: Marc Zyngier , Hans de Goede , linux-gpio@vger.kernel.org, linux-doc@vger.kernel.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski , Jonathan Corbet , Mika Westerberg , Andy Shevchenko Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.0 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,HEADER_FROM_DIFFERENT_DOMAINS, MAILING_LIST_MULTI,RDNS_NONE,SPF_HELO_NONE,T_SCC_BODY_TEXT_LINE autolearn=no 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 Thu, May 12, 2022 at 7:41 PM Andy Shevchenko wrote: > Instead of direct dereferencing the IRQ data in order to get HW IRQ number > use the irqd_to_hwirq() helper. > > Fixes: 5644b66a9c63 ("Documentation: Update the recommended pattern for GPIO irqchips") > Signed-off-by: Andy Shevchenko Good idea. Reviewed-by: Linus Walleij Yours, Linus Walleij