Received: by 10.223.185.116 with SMTP id b49csp2365999wrg; Thu, 22 Feb 2018 12:31:50 -0800 (PST) X-Google-Smtp-Source: AH8x226M2wyfcf3/xZbkFd43xkNcxHaEOlvOru5HfXId1aiDU95NhnhjMekXzc3COnnEs1u7nkLT X-Received: by 10.99.127.65 with SMTP id p1mr2449135pgn.50.1519331510018; Thu, 22 Feb 2018 12:31:50 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1519331509; cv=none; d=google.com; s=arc-20160816; b=LbfJsz1+0na7DjhOhJ965jdt5ejRuQ3vj3vDnKVXkmlNGtZyNY9Xn4MrByJvx+b53e xlHQ6i/ujQyFxcJtGvDKFw4VlLa1H2geVQdK28/Ea/QJjZObEJMSdMRll5h5rg2Nm15Y VDbiqQ5M9rtwfm3du1lRP0mv+ldHhN6ceFUsKlytnqGPc8cudWwXtv1ktfgcJ0V7IjO4 k9w6kWoaDpcSB0F931Hqs1QwhX/MfIOleec7hHoOP3CjIi7VZupEcBW60R2KG6/qtX9n E0ThjLHlSp6LI8hS+FCyQ5Rt7g4PnjTaC9btqoj6i7mjvSZTjadMYURTDVAn71J5lS3V pQRQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:user-agent:in-reply-to :content-disposition:mime-version:references:message-id:subject:cc :to:from:date:dkim-signature:arc-authentication-results; bh=xcLEZypwLNSGqLYh4IPXAnT+LIqTPuL+5Xt9kNwxGzo=; b=Yy4f/yXdpN58qLx4F4aHoy+idGZM6G30qrKtJI1GaEENS5zwact6hyMfrph+tgV2qc rdvwWKbeFroRNl2EbLQI2XILW3aZJ6BINHdS0mu+5ZYGErh+BvHZQ4w7+3J8LEl21/Vx qJehS0TFzPHNxoXegVG+gL3CHSrogurvTEL4XIYxyG801fmp66ZBAuBt76az2dz0VnLX XziimjqWs/0/DSqWIqr1MY0a+dl7CjQR877hy6dZOikdhxLX16055rU7eOuQ3VZSwqby 0FeAkDZsKajC4pqrfS+PwBNqDIfEg47BYR9kAvTH8QvJjReajeSt64G20cfm3nYuUipT 9LsQ== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kl3q9yty; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id n3si463160pgc.12.2018.02.22.12.31.33; Thu, 22 Feb 2018 12:31:49 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=kl3q9yty; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org; dmarc=pass (p=NONE sp=QUARANTINE dis=NONE) header.from=gmail.com Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751350AbeBVUaU (ORCPT + 99 others); Thu, 22 Feb 2018 15:30:20 -0500 Received: from mail-yb0-f196.google.com ([209.85.213.196]:37189 "EHLO mail-yb0-f196.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750802AbeBVUaR (ORCPT ); Thu, 22 Feb 2018 15:30:17 -0500 Received: by mail-yb0-f196.google.com with SMTP id u5-v6so893421ybf.4; Thu, 22 Feb 2018 12:30:17 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:in-reply-to:user-agent; bh=xcLEZypwLNSGqLYh4IPXAnT+LIqTPuL+5Xt9kNwxGzo=; b=kl3q9ytyMRuogM6iZzOhAfubB73i8Ov4hVdcjzraYacWgo7J9KN1Nh8nMbsF1Rk4RY PBwQgzOeUyQVx0Tet3MFMxaBlstQCIpiQY9pAY1S3UJbK2n9DocEYGccxwb/i4+sxNtu i+NN0jxmMe6JicKmBzqZF+V/2p2znGHUI2d14Cn8XmoRGhmVgfeR0B+IkdBx0h15RNZ1 yRZxr6KeR+12OxKge7FTu8qDZIysq4LpH+ogYlAJL5CoKji7kZJns7g6OmKza7ayXwxN iWmDEIZ112uj5CLQfWmWu2fY83gvOZWf41GVQ133ySgf/CHnHUaFT+j3hrfl1a2nlMIj q8CQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:in-reply-to:user-agent; bh=xcLEZypwLNSGqLYh4IPXAnT+LIqTPuL+5Xt9kNwxGzo=; b=GKozvHmHXTIjm0cRY+q1j/UJK4yg1zbRYVdBLsNSGxj+VosXtUZzT+5ogF/KaaaG7Y nvFQqB6bfz082gxiGDrFEZxWycGhBn5Reg8I1589fXpjiAv5X+ne0lHTxDDCblUvZdPW RMUn3Pn4/BmxZmKzDtUk0TMnGPzYHIDBMo4Ho1NKYo+larZcJ61LgWT25j1vjG4EYMFX Y3q1QpGifd2I6De0k/aaEsAyp66bLHy6IFytMPUWfGTummqLBWR+Lm0tUMrZ2Rxnx9og f72sizY0Fb1vREKty5AYYAP3UtD7h/+z2G/RxLFcM6tTrNJtTlnGu1Fo0TUFYp6g8d6k NLwQ== X-Gm-Message-State: APf1xPAJPDEa/I/JySAySwkIrApsUH4K0mKnfNz1jMREgBegM4DPgKrG GhlesH0vFXGWT+b27pUXsE4= X-Received: by 2002:a25:e6cd:: with SMTP id d196-v6mr5979955ybh.326.1519331416653; Thu, 22 Feb 2018 12:30:16 -0800 (PST) Received: from sophia ([72.188.97.40]) by smtp.gmail.com with ESMTPSA id l10sm344622ywb.54.2018.02.22.12.30.15 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 22 Feb 2018 12:30:16 -0800 (PST) Date: Thu, 22 Feb 2018 15:30:09 -0500 From: William Breathitt Gray To: Linus Walleij Cc: "Maciej S. Szmigiero" , Guenter Roeck , "open list:GPIO SUBSYSTEM" , linux-iio@vger.kernel.org, LINUXWATCHDOG , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH v2 3/5] gpio: Change ISA_BUS_API dependency to selection Message-ID: <20180222203009.GA10834@sophia> References: <1534276cb63d1e9e6dd139b4edceedbe728f65f5.1514578085.git.vilhelm.gray@gmail.com> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.9.3 (2018-01-21) Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Thu, Feb 22, 2018 at 04:16:17PM +0100, Linus Walleij wrote: >On Fri, Dec 29, 2017 at 9:13 PM, William Breathitt Gray > wrote: > >> The ISA_BUS_API Kconfig option enables the compilation of the ISA bus >> driver. The ISA bus driver does not perform any hardware interaction, >> and is instead just a thin layer of software abstraction to eliminate >> boilerplate code common to ISA-style device drivers. Since ISA_BUS_API >> has no dependencies and does not jeopardize the integrity of the system >> when enabled, drivers should select it when the ISA bus driver >> functionality is needed. >> >> Cc: Linus Walleij >> Signed-off-by: William Breathitt Gray > >Patch applied to the GPIO tree for v4.17. > >Can you confirm that we don't have any dangling ISA >drivers not using this? > >Yours, >Linus Walleij Hi Linus, This patchset should cover all current mainline drivers depending on ISA_BUS_API. However, there are existing drivers for ISA compatible devices that would benefit from utilizing struct isa_driver rather than struct platform_driver as was done for the Winbond GPIO driver; for example, a number of the drivers under the "Port-mapped I/O GPIO drivers" menu are also for Super I/O devices and may benefit from using struct isa_driver. I thought it best to let the respective maintainers of those drivers make the changes if they so desire, since the primary benefit of struct isa_driver over struct platform_driver is code clarity in my opinion. I may submit patches myself for some of the low-hanging fruit later this year if I find the time. Right now implementing the counter subsystem has been my priority, but perhaps some downtime will be available soon enough for me to add ISA driver improvements to my plate -- we'll just have to see how it all goes. :) William Breathitt Gray