Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 65926C05027 for ; Thu, 26 Jan 2023 12:40:15 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S236657AbjAZMkO (ORCPT ); Thu, 26 Jan 2023 07:40:14 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53100 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236057AbjAZMkM (ORCPT ); Thu, 26 Jan 2023 07:40:12 -0500 Received: from mail-yw1-x112a.google.com (mail-yw1-x112a.google.com [IPv6:2607:f8b0:4864:20::112a]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B3B1F5FE9 for ; Thu, 26 Jan 2023 04:40:11 -0800 (PST) Received: by mail-yw1-x112a.google.com with SMTP id 00721157ae682-4a263c4ddbaso21777707b3.0 for ; Thu, 26 Jan 2023 04:40:11 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=GEX5lf6MBwTPGO3Prne8BbweggqLOiMRFsUsGtWJrvU=; b=r6ToREH7Nx6sGWbq/rPNO6W/JE9gJlL6pBUnkMyjUJezIcPgXUy8fB/FsNEQ3sK3HJ g3UV1nuOXtoxVjwOwkfYENrgc7MChyKzoGrTZSELWQyoPBSoRqG7x/WJdKwN9ehOkd31 dr+f51vyogIX4pmU9DldqJxUqafcz2R+wpSYzgxyOcmaBMFqZTnv5GeKNnzzsLskA3Ul QQxzx06sqFqe/Lp/g0XT5tTtl8JLGy/2dNrtTnIAPyqoTg3z3ohIgpCAAPuu0LyToK8Q 9a7RPizX1HSbLP/NtfNlUNQlM2SBeeXOyHCJ7NkbDuJjOxgXYPUoXaa7iGGE4l4X6RUl kPYQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=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=GEX5lf6MBwTPGO3Prne8BbweggqLOiMRFsUsGtWJrvU=; b=mdU2a1zfXXVXscAGOffocuXeyS6W7LlpvfxKlJSUoa8hGKVOG+W5vkpB9hRk2gewxJ C8izrMa2gWtVRNI7jCVyzGMKu35/GyX6PNT3Rjn1NCaALjd1+vfYdZ++LtIQACaQnU0m JNv4HcjUXCE+l0LUw8h3jjNzYS2VbSw26qZvCZrhxUGLfkvobA+litlKfi4siTLilySJ rGG7NrBdmYsp5HdMc3Cb3AW8KrRzvkz658DfmliAVNKZq/T2D+NTN0iaB76Vh5M4kJ19 cWB/0Mq46QAcYT0aPZuzmAtSbwGDLN1JfIQcnbrgGDmPjl7c4o3dlH/QmnAuvAztCexe sYiw== X-Gm-Message-State: AO0yUKWcyCVINJkE3hRj/VriKf0pNK3bDu3UifVCf5O+kr2ohCDkZC0m rJ98c2jkI2zGqmcKIFewZUpEc1QylHurryw14eIh6g== X-Google-Smtp-Source: AK7set8RjLb7z41Gv76XqOKjR54TWgSgujYg8aDioQtjXKr37Z3orGgLa/HEhUfc3MhJwb3SxyzIBClY02+Cl7z9Z2A= X-Received: by 2002:a05:690c:706:b0:506:6952:b9c9 with SMTP id bs6-20020a05690c070600b005066952b9c9mr752411ywb.477.1674736810953; Thu, 26 Jan 2023 04:40:10 -0800 (PST) MIME-Version: 1.0 References: <20230113215352.44272-1-andriy.shevchenko@linux.intel.com> In-Reply-To: <20230113215352.44272-1-andriy.shevchenko@linux.intel.com> From: Linus Walleij Date: Thu, 26 Jan 2023 13:39:59 +0100 Message-ID: Subject: Re: [PATCH v3 0/4] gpiolib: get rid of exessive ->of_gpio_ranges_fallback() To: Andy Shevchenko Cc: Bartosz Golaszewski , Dmitry Torokhov , linux-gpio@vger.kernel.org, linux-kernel@vger.kernel.org, linux-rpi-kernel@lists.infradead.org, linux-arm-kernel@lists.infradead.org, Bartosz Golaszewski , Florian Fainelli , Ray Jui , Scott Branden , Broadcom internal kernel review list , Stefan Wahren Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 13, 2023 at 10:53 PM Andy Shevchenko wrote: > The ->of_gpio_ranges_fallback() repeats the idea that lies behind > ->add_pin_ranges(), while the latter covers more cases that the former > hook. Drop the former one for good. > > Changelog v3: > - moved check of the property presense to GPIO library > - split out the refcount fix in a separate patch > - added cover letter Patches applied! Sorry for taking almost 2 weeks :/ Yours, Linus Walleij