From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751096AbdEaQet (ORCPT ); Wed, 31 May 2017 12:34:49 -0400 Received: from goliath.siemens.de ([192.35.17.28]:48059 "EHLO goliath.siemens.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751028AbdEaQer (ORCPT ); Wed, 31 May 2017 12:34:47 -0400 Subject: Re: [PATCH v4 2/9] gpio-exar/8250-exar: Do not even instantiate a GPIO device for Commtech cards To: Andy Shevchenko Cc: Greg Kroah-Hartman , Linus Walleij , Alexandre Courbot , Linux Kernel Mailing List , "linux-serial@vger.kernel.org" , "linux-gpio@vger.kernel.org" , Sudip Mukherjee , Sascha Weisenberger References: From: Jan Kiszka Message-ID: <6ded8dab-caec-70e3-daf0-16622f89970a@siemens.com> Date: Wed, 31 May 2017 18:34:16 +0200 User-Agent: Mozilla/5.0 (X11; U; Linux i686 (x86_64); de; rv:1.8.1.12) Gecko/20080226 SUSE/2.0.0.12-1.1 Thunderbird/2.0.0.12 Mnenhy/0.7.5.666 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Language: en-US Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 2017-05-30 20:33, Andy Shevchenko wrote: > On Tue, May 30, 2017 at 10:01 AM, Jan Kiszka wrote: >> Commtech adapters need the MPIOs for internal purposes, and the >> gpio-exar driver already refused to pick them up. But there is actually >> no point in even creating the underlying platform device. > > It still feels that partially you may do stuff here, like > renaming to > __xr17v35x_register_gpio() > and creating > xr17v35x_register_gpio() wrapper. Sorry, that remains unrelated to the topic of this patch and would be unclean. If you want me to pull those refactorings out of patch 9, I need to write a separate patch - no problem. Jan -- Siemens AG, Corporate Technology, CT RDA ITP SES-DE Corporate Competence Center Embedded Linux