From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1754415Ab3KYJFp (ORCPT ); Mon, 25 Nov 2013 04:05:45 -0500 Received: from hqemgate15.nvidia.com ([216.228.121.64]:12573 "EHLO hqemgate15.nvidia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750729Ab3KYJFh (ORCPT ); Mon, 25 Nov 2013 04:05:37 -0500 X-PGP-Universal: processed; by hqnvupgp07.nvidia.com on Mon, 25 Nov 2013 01:03:16 -0800 Message-ID: <529312DB.6070301@nvidia.com> Date: Mon, 25 Nov 2013 18:05:31 +0900 From: Alex Courbot Organization: NVIDIA User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:24.0) Gecko/20100101 Thunderbird/24.1.1 MIME-Version: 1.0 To: Heikki Krogerus CC: Alexandre Courbot , Mika Westerberg , ACPI Devel Maling List , "Rafael J. Wysocki" , Linus Walleij , Chris Ball , Johannes Berg , Rhyland Klein , Adrian Hunter , Mathias Nyman , Rob Landley , Stephen Warren , Thierry Reding , "linux-gpio@vger.kernel.org" , Linux Kernel Mailing List Subject: Re: [PATCH v2 3/7] net: rfkill: gpio: remove gpio conversion support References: <1385122474-14926-1-git-send-email-mika.westerberg@linux.intel.com> <1385122474-14926-4-git-send-email-mika.westerberg@linux.intel.com> <20131125084127.GB21001@xps8300> <52930EAA.7030208@nvidia.com> <20131125090218.GC21001@xps8300> In-Reply-To: <20131125090218.GC21001@xps8300> X-NVConfidentiality: public Content-Type: text/plain; charset="ISO-8859-1"; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 11/25/2013 06:02 PM, Heikki Krogerus wrote: > On Mon, Nov 25, 2013 at 05:47:38PM +0900, Alex Courbot wrote: >> On 11/25/2013 05:41 PM, Heikki Krogerus wrote: >>> Adding the lookup table in first patch and then changing the driver in >>> the second creates a point to the history where this driver stops >>> working on this platform, which is something I'm not willing to do. >> >> Does it? If you just add a lookup table and keep using the >> integer-based GPIO interface, then your lookup table will not be >> used by anyone and will basically be a no-op. Then you can switch to >> the GPIO descriptor interface and take advantage of the lookup >> table. Unless I missed something there should not be any point that >> breaks in the git history. >> >> (to be clear: the first patch should *only* contain the lookup >> table, and the second be a merge of the current patches 1 and 3 of >> this series.) > > OK, I agree. If I don't remove the old gpio numbers in in the first > patch, there is no problem. We can do this with the two patches. Yep, that's what I meant. :) It would make the series considerably easier to understand by removing its temporary code. Thanks, Alex.