From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752980Ab3KYIl4 (ORCPT ); Mon, 25 Nov 2013 03:41:56 -0500 Received: from mga11.intel.com ([192.55.52.93]:1115 "EHLO mga11.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750958Ab3KYIlx (ORCPT ); Mon, 25 Nov 2013 03:41:53 -0500 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="4.93,766,1378882800"; d="scan'208";a="439142371" Date: Mon, 25 Nov 2013 10:41:27 +0200 From: Heikki Krogerus To: Alexandre Courbot Cc: Mika Westerberg , ACPI Devel Maling List , "Rafael J. Wysocki" , Linus Walleij , Chris Ball , Johannes Berg , Rhyland Klein , Adrian Hunter , Alexandre Courbot , 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 Message-ID: <20131125084127.GB21001@xps8300> References: <1385122474-14926-1-git-send-email-mika.westerberg@linux.intel.com> <1385122474-14926-4-git-send-email-mika.westerberg@linux.intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Sat, Nov 23, 2013 at 05:59:30PM +0900, Alexandre Courbot wrote: > Wouldn't it be possible (and simpler) to move patch 2 of your series > to first position, and then to merge patch 1 and 3 together in second > position? It seems to me that you are basically undoing much of the > work of your first patch here (notably by removing > rfkill_gpio_convert_to_desc() which ends up having a very short life) > and that this could be avoided if you defined the platform lookup > tables first. > > Doing so would avoid prevent you from using gpio_to_desc() which you > should never ever use anyway. :P 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. But, we can make one patch out of all three if everybody is OK with that. -- heikki