From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A187EC433F5 for ; Tue, 9 Nov 2021 20:42:42 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 75B3E61207 for ; Tue, 9 Nov 2021 20:42:42 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S244602AbhKIUpZ (ORCPT ); Tue, 9 Nov 2021 15:45:25 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57388 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S242487AbhKIUpW (ORCPT ); Tue, 9 Nov 2021 15:45:22 -0500 Received: from mail-ot1-x32f.google.com (mail-ot1-x32f.google.com [IPv6:2607:f8b0:4864:20::32f]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4EDE2C061764 for ; Tue, 9 Nov 2021 12:42:36 -0800 (PST) Received: by mail-ot1-x32f.google.com with SMTP id g91-20020a9d12e4000000b0055ae68cfc3dso531758otg.9 for ; Tue, 09 Nov 2021 12:42: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=Kl+ING2vPVUw4dbwJiGjKtSToM+NyrnBy+El7nhO980=; b=zmf1V1KQjNkArcK6dsYU/c7ttlDWId9avUz5BsgLno0wJHjE+nzUw6OMH54Pj+TumU j01e23FYO8hn3Wk27ZB75YVIX5/gYGYkZqj1LIvqLDnGgADDGr6M7zzTqBjvsC0Lz9Mw h9EiMhbJXNs+4gpq3Ftu3Ad5M87ldeLiKXsyBOv8WdpxtbD1shQKhiitRoadIzxMJ8Ks Q1FpmIK1bwzRkO5AiXU14yXzdQG/wBdN3LtCIUDfnvMylDI03sqmIdM/HBZwkOqIBcb9 2b/TWTng1GnNdtmH0DcniDEgHWD6TNZ54grLGfwl0qzqG93s+3qFgndgPjdFE+KlzjDO f7fA== 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=Kl+ING2vPVUw4dbwJiGjKtSToM+NyrnBy+El7nhO980=; b=1IhxTwgIr//xek4e8NaP3irQ7Vpdh1f6Jy3ebVcm7YTlcc3yiogUT7RJeaeO2tFG7G r0wFf9PBWnRv+ebJhHWc2In/Jyp7dSNmtmKB7ANuoSDkbPVwFQG+UUx0TtE2PWFKgiGl drnGCrUQLmKJ86019hp5CgfUI/q45kOOV1uceikP2pchqCv33CZs8u7wxAk0x2pJeo2K f+ES8ZjQSGmLusLSGUfsBOR3P0sBfafSoqwFEeGYQtXwpdnCM+cAhu3qDvQ86EoEiKCA OsBVLmb2iijsb5IUVzsH2SSADUVmn6TZIpuX7AwHr/jEc2ktE1Q1vDyokZx1rA4warZn xifQ== X-Gm-Message-State: AOAM532gcrIwHH26lrNdP5RwrqmzWb/vZTI0odeQT740UyybG8zRXNCp qhI9LDBVLrJI2D2gY2MiUNaMwK6fiPolJ0AV8pwcKQ== X-Google-Smtp-Source: ABdhPJzxPoRxDUD8SGDUt5PcErFvzEPCMZS6UV9UQDtuc0AL6W7X/9yWO2k1DBIvqVQZUNdpVTlOYATJQ3FyB40EqYQ= X-Received: by 2002:a9d:6348:: with SMTP id y8mr8564780otk.179.1636490555709; Tue, 09 Nov 2021 12:42:35 -0800 (PST) MIME-Version: 1.0 References: <20211109100207.2474024-1-arnd@kernel.org> <20211109100207.2474024-7-arnd@kernel.org> In-Reply-To: From: Linus Walleij Date: Tue, 9 Nov 2021 21:42:24 +0100 Message-ID: Subject: Re: [PATCH v2 6/8] gpiolib: remove legacy gpio_export To: Arnd Bergmann Cc: Andy Shevchenko , "open list:GPIO SUBSYSTEM" , Arnd Bergmann , Bartosz Golaszewski , Geert Uytterhoeven , Linux ARM , Linux Kernel Mailing List Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-gpio@vger.kernel.org On Tue, Nov 9, 2021 at 11:50 AM Arnd Bergmann wrote: > I think the TODO list is in Linus' head, Oh no, drivers/gpio/TODO > but it would include all the files > that use one of the interfaces in linux/gpio.h. I found about 350 of them, > so there is little point in listing them one at a time. IIRC Linus is going > through those one subsystem at a time. Yeah but if it's just me I doubt that I will manage to do it by the time I retire in 2037 or so... So the TODO is there to inspire others to step in and help out. > I also found that we have a ton of users of linux/of_gpio.h, which is > somewhere inbetween the linux/gpio.h interface and the > linux/gpio/consumer.h version. This is also mentioned in the TODO. Yours, Linus Walleij From mboxrd@z Thu Jan 1 00:00:00 1970 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id F0042C433EF for ; Tue, 9 Nov 2021 20:43:55 +0000 (UTC) Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.133]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id B5DB261211 for ; Tue, 9 Nov 2021 20:43:55 +0000 (UTC) DMARC-Filter: OpenDMARC Filter v1.4.1 mail.kernel.org B5DB261211 Authentication-Results: mail.kernel.org; dmarc=fail (p=none dis=none) header.from=linaro.org Authentication-Results: mail.kernel.org; spf=none smtp.mailfrom=lists.infradead.org DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20210309; h=Sender: Content-Transfer-Encoding:Content-Type:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:Cc:To:Subject:Message-ID:Date:From: In-Reply-To:References:MIME-Version:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=EAVnqzKxlqFTZsXVa66szVURLDDYGBh3luYW8dRfF9I=; b=x+8HA770qT7TVS Qr0Z9xvqHAB79SE50jLcllmHasm9qbzwplJ8i//+/+fQQTf60zKX6/wBfvLFDP5HhR+rPOSNPFUY4 BgjBUtI99ZtAnOU43wWmzaVcD7J0NrmhCrnrin3cFNhsip07A6wYMjtgw/2nRHWu4RTgiLKUWGSVV KujJfQmYglDecRzwHNdDxETAr3BidziZMf6V3+8+UhRypBnUuZyRbGwFaOHR4mCyO8aOg99ihWT5j SBHX50xEQG+ozMECEoUhYwh5ES4mF0sjVD99cdEaeO/jUyPuX+Y0EXeQE+UD/Xk9iy3AIq26ZEGac mc8jXxBdB7sPnak9L8AQ==; Received: from localhost ([::1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.94.2 #2 (Red Hat Linux)) id 1mkXx2-003EHH-08; Tue, 09 Nov 2021 20:42:40 +0000 Received: from mail-ot1-x32e.google.com ([2607:f8b0:4864:20::32e]) by bombadil.infradead.org with esmtps (Exim 4.94.2 #2 (Red Hat Linux)) id 1mkXwz-003EGr-52 for linux-arm-kernel@lists.infradead.org; Tue, 09 Nov 2021 20:42:38 +0000 Received: by mail-ot1-x32e.google.com with SMTP id x19-20020a9d7053000000b0055c8b39420bso587378otj.1 for ; Tue, 09 Nov 2021 12:42: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=Kl+ING2vPVUw4dbwJiGjKtSToM+NyrnBy+El7nhO980=; b=zmf1V1KQjNkArcK6dsYU/c7ttlDWId9avUz5BsgLno0wJHjE+nzUw6OMH54Pj+TumU j01e23FYO8hn3Wk27ZB75YVIX5/gYGYkZqj1LIvqLDnGgADDGr6M7zzTqBjvsC0Lz9Mw h9EiMhbJXNs+4gpq3Ftu3Ad5M87ldeLiKXsyBOv8WdpxtbD1shQKhiitRoadIzxMJ8Ks Q1FpmIK1bwzRkO5AiXU14yXzdQG/wBdN3LtCIUDfnvMylDI03sqmIdM/HBZwkOqIBcb9 2b/TWTng1GnNdtmH0DcniDEgHWD6TNZ54grLGfwl0qzqG93s+3qFgndgPjdFE+KlzjDO f7fA== 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=Kl+ING2vPVUw4dbwJiGjKtSToM+NyrnBy+El7nhO980=; b=WYvTX8BMGmSFbpyI+GdY5+Ajk/1HH1rpQS8AP06QYw3kglBQBHhYbH8BVvRk6/ZQwM 6TyqeCkUIajHD3RhPoeHkmYyHowtZklxNZYKmvoy2T38dTKQgfjSBPKCrSmUQJ7GRrJ+ MDuaA2VkknKH4gSYehXgbtiiayOtxUigiektm8eitaZjASDsZpez9FIgFE/6llKrBxgS KSowt0AIO3uUSO+3kn9XGqPhKn76UVKBUax9+IzVpwoyj67Rl3g4NPKqCHXOTV2zejOA jPuWgt82Vh92GRjH5PC/vT63oZ6g4YDOwKWUkr5gzG4PF89UOboGBLG3PjyYghsvdFeb nQtQ== X-Gm-Message-State: AOAM532iuALHhJ4emwr5QwksoKcvhYc0M24VVGkV+sp8QkX0ek80XEbO yX4v/O+yum0kSytYKVFrpuB2WXoIzMUfQpb0jm2tAA== X-Google-Smtp-Source: ABdhPJzxPoRxDUD8SGDUt5PcErFvzEPCMZS6UV9UQDtuc0AL6W7X/9yWO2k1DBIvqVQZUNdpVTlOYATJQ3FyB40EqYQ= X-Received: by 2002:a9d:6348:: with SMTP id y8mr8564780otk.179.1636490555709; Tue, 09 Nov 2021 12:42:35 -0800 (PST) MIME-Version: 1.0 References: <20211109100207.2474024-1-arnd@kernel.org> <20211109100207.2474024-7-arnd@kernel.org> In-Reply-To: From: Linus Walleij Date: Tue, 9 Nov 2021 21:42:24 +0100 Message-ID: Subject: Re: [PATCH v2 6/8] gpiolib: remove legacy gpio_export To: Arnd Bergmann Cc: Andy Shevchenko , "open list:GPIO SUBSYSTEM" , Arnd Bergmann , Bartosz Golaszewski , Geert Uytterhoeven , Linux ARM , Linux Kernel Mailing List X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20211109_124237_218954_87769971 X-CRM114-Status: GOOD ( 15.66 ) X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.34 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+linux-arm-kernel=archiver.kernel.org@lists.infradead.org On Tue, Nov 9, 2021 at 11:50 AM Arnd Bergmann wrote: > I think the TODO list is in Linus' head, Oh no, drivers/gpio/TODO > but it would include all the files > that use one of the interfaces in linux/gpio.h. I found about 350 of them, > so there is little point in listing them one at a time. IIRC Linus is going > through those one subsystem at a time. Yeah but if it's just me I doubt that I will manage to do it by the time I retire in 2037 or so... So the TODO is there to inspire others to step in and help out. > I also found that we have a ton of users of linux/of_gpio.h, which is > somewhere inbetween the linux/gpio.h interface and the > linux/gpio/consumer.h version. This is also mentioned in the TODO. Yours, Linus Walleij _______________________________________________ linux-arm-kernel mailing list linux-arm-kernel@lists.infradead.org http://lists.infradead.org/mailman/listinfo/linux-arm-kernel