Received: by 2002:a6b:500f:0:0:0:0:0 with SMTP id e15csp892008iob; Fri, 13 May 2022 15:43:58 -0700 (PDT) X-Google-Smtp-Source: ABdhPJz6rJDrQv1ovUR+aPVLMd1Q40jSkbsVTFYPTxmBJO3dVTnqZUJRuH8gEaPhJvdzOtj6n+lY X-Received: by 2002:a7b:c3c7:0:b0:394:1aaa:1256 with SMTP id t7-20020a7bc3c7000000b003941aaa1256mr6505941wmj.172.1652481838540; Fri, 13 May 2022 15:43:58 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1652481838; cv=none; d=google.com; s=arc-20160816; b=bBv5xGz1TUuXxC1Q9cDszjNghQ6IFK74l5dG+cujzYeFhynO1ZgGT6Dz2hdL56T4VQ Mvk9HNqVH+tIkDj1zcEB3k/MAKqfNbD3hA7aEXrC1Eh149CeMHfu/embLFhmmo4rPrO6 6i2e4pWJDZfdVdYPD+9bEZtAP8BFCccYLJvKV4YOZ3LSIPyF1M+KOAfckx40O788ZNpb 2gCPob8pdKaBRMWK26KhtOmr/TMv+hHhtUYXfnD8VkJQ7s89WeMXn0qCdMDhJDsW05Wq 4j3S4FAOUR/SA/L/dZYwGUFiwfVR/kZezaq1Y3gDRmCiq3mUwvVdPchOWHdQqH8RgZ9i D7sw== 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=LdknKTFAjuVV6cG3pEPQnMSdfNEMapIBJ9sGtA9Y09c=; b=rTk2NGPA7Bu5coMcqQY1uCQFF4bypfHL6YBUXEPlj0lsok9/76/HhvQItyWp3VAx5w 8LvpZI2j7PRR6M6mD9f34IBAPY3rsDKcot0PvGQoO1K2ZuF0cvR1uOsGM/vcJ3A0BA+w Aj2v6ImcrLMU1u0boewcz32H+N1xgeHpMIvgreYE98AElW9Aw5or5RO5nGmzWzCC/0+R FesUiSpklSPKZTAy5mLnD/FrCKQ8V6gWd3AYS/96BqSz8l7XJRRmSLmHXOrPIbKBJgxs /fQyTdOCmvCKloTGkrAJNE7ZKFgN5G9rLjBOIC47J0gn1mGleHAxrg7WUbxxXIu65XV1 KxQw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@linaro.org header.s=google header.b=xmMXBU3N; 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=NONE dis=NONE) header.from=linaro.org Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id z18-20020adff752000000b0020ad81dab84si2976905wrp.128.2022.05.13.15.43.31; Fri, 13 May 2022 15:43:58 -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=@linaro.org header.s=google header.b=xmMXBU3N; 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=NONE dis=NONE) header.from=linaro.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1384590AbiEMUzC (ORCPT + 99 others); Fri, 13 May 2022 16:55:02 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:59974 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1384597AbiEMUzA (ORCPT ); Fri, 13 May 2022 16:55:00 -0400 Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4124B33E3E for ; Fri, 13 May 2022 13:54:58 -0700 (PDT) Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-2f863469afbso102949837b3.0 for ; Fri, 13 May 2022 13:54:58 -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=LdknKTFAjuVV6cG3pEPQnMSdfNEMapIBJ9sGtA9Y09c=; b=xmMXBU3NmkyVtivyV63dP3bIvtMkreg3G2vlBW6VC6qDJftpmGZXb7rWsbSDpzwnbO soAf29nXLOaF4fnFpp0VKJ9Q/HJxJkgEfDnG/rcA7YSj5tJN3c/On8k+vdx5e16qGp+I Zn04CLtil4jLFL2MKQePF+OMCd4s3gl/O6i5GgHj7vP4YFxbzBKELPCKAtXGH71AbPdz EBSLGJl1PYdI304Gdwa2ruEvjYy/jZMpZjktq0WgI+RTyY0FGhDPwt9NDO/VT4xleHzS ymzu9R2WwIGGQxE1vO8YJ3I183gySCovNtEw2YJSZTavWsLdKsm3ik6/05PDHbo/5ltW javA== 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=LdknKTFAjuVV6cG3pEPQnMSdfNEMapIBJ9sGtA9Y09c=; b=mKlungbvs1e7svUkLMB0EQZQDlAWz+7t4Y8xiWP05NOVr7ttyyXSJy+yf9t0FrhRgC kkQf0alQfJLpfioseyuiUJakuK/O+AKIQ8OggTb4SmbFn7XkkEbiq5lPjbBXOdoGAbvU bW5plt9gF4baAch5rIxjBlW0EVWioutEbeoURB8Pcq1nh8p9Fe+GFrM1MRr3DFaHf10f smzcv3RlB6HngfmTU3Cn8K6PD1+pRdBdh6dDKCKyZfeTSvN+2RFpYli+06nc3/QneFU8 zLgf90xUY9B1ZMhQ6jFZCUgnsg+zoeV8dc9gFq+04N5G/+7BDCxWEhe3bt677g4IUU6N H1qQ== X-Gm-Message-State: AOAM530BsbGQR9j7drpOvxq2lHo7iPYaT62Bfo4rH1D160XWbQpCxku6 HufTs/3KWgIqz5bRmFfn8uZmUtCPU7S3p8MfMRhdDA== X-Received: by 2002:a0d:e5c6:0:b0:2f8:c866:7af9 with SMTP id o189-20020a0de5c6000000b002f8c8667af9mr8074972ywe.268.1652475297420; Fri, 13 May 2022 13:54:57 -0700 (PDT) MIME-Version: 1.0 References: <20220512173921.8210-1-andriy.shevchenko@linux.intel.com> In-Reply-To: <20220512173921.8210-1-andriy.shevchenko@linux.intel.com> From: Linus Walleij Date: Fri, 13 May 2022 22:54:46 +0200 Message-ID: Subject: Re: [PATCH v1 1/5] Documentation: gpio: Fix IRQ mask and unmask 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.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=unavailable 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:52 PM Andy Shevchenko wrote: > After switching to immutable IRQ chips for GPIO drivers the examples become > uncompilable due to wrong IRQ API, i.e. irq_desc_get_handler_data() in use. > Replace it with proper irq_data_get_irq_chip_data() call where it applies. > > Fixes: 5644b66a9c63 ("Documentation: Update the recommended pattern for GPIO irqchips") > Signed-off-by: Andy Shevchenko Reviewed-by: Linus Walleij Yours, Linus Walleij