Received: by 2002:ad5:4acb:0:0:0:0:0 with SMTP id n11csp604764imw; Wed, 13 Jul 2022 04:52:57 -0700 (PDT) X-Google-Smtp-Source: AGRyM1seM04rqMjPyedSkLg2SNpeKHjEW4Wot+OO/fimsWfJMVqc100Km056OIbwrminIe+KjFzm X-Received: by 2002:a17:906:1ca:b0:715:73f3:b50f with SMTP id 10-20020a17090601ca00b0071573f3b50fmr3142523ejj.374.1657713176960; Wed, 13 Jul 2022 04:52:56 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1657713176; cv=none; d=google.com; s=arc-20160816; b=G+41elwKENH7pfp8erPIjDxKYHljblmobXzZ2cnV3Ae6BIUDaxudraMFv5HDZRxapi xdfETGA0egepH+0l6ICieFABY3nak0HYdkZ1xrCdbqEr3nBUIgjTw6p69kdb6YyWUzB6 b6KyAPdO3/WmG/c8bB5dXXzqVK+Oe8PViqjTm8dvbbMGL+GapfzQt/k8sP542FgQHbWI LR7PM1XsoDN8n8R6aTrHiDjvgc68aNE/T8OqO8VyF0Ywk7Ujb3xVV5MAQj3HCXJqNrLE i2lYPAS4tGLPKjfo//SzJajP/lwONKpxNgcNNR/tU+OoB9fTRzZyjzKD9fhj7OMTLYm/ xnJA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:cc:to:subject:message-id:date:from:in-reply-to :references:mime-version:dkim-signature; bh=kYOcW9IOsSFEnSNVI3NabOAcHzwmMOPMhoi3vC/X7Hc=; b=pL2IipswTsBr+exxB8vUvSzByJJlJEEW9n9OVanNkPgf3h+LAROofjwVTQMqZxJRQ0 cgD40iO8XZndp88VCR4YOjjeYM/NKKT+/tRMIdHG+hfu33cWdIkCc0bBFJghdZSTs8j3 zL/oIuvQ3wK747p26ZTj5NwgpU1R3ENGXj3KXAsrss0/9pT7QLjOjgU1/cp2xIPOBSMH bLMluCHXnffhDh0/MjxM5ybUcY0QVO+uBXe93V1R697UC//+X9/uG9sj826tQmu0bZx0 cBbtOnlBr9fIPR4s9S6hhEWC2Itg7pc+ZtNtnJ/a7kxPdeOD27FngGI1VADZie1PrPd0 k/Ow== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dfwZRxcx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id ey4-20020a0564022a0400b0043a2c76581dsi16833683edb.420.2022.07.13.04.52.31; Wed, 13 Jul 2022 04:52:56 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=dfwZRxcx; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 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 S236289AbiGMLjQ (ORCPT + 99 others); Wed, 13 Jul 2022 07:39:16 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:33390 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S236335AbiGMLjL (ORCPT ); Wed, 13 Jul 2022 07:39:11 -0400 Received: from mail-yw1-x1129.google.com (mail-yw1-x1129.google.com [IPv6:2607:f8b0:4864:20::1129]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 28638357FE; Wed, 13 Jul 2022 04:39:09 -0700 (PDT) Received: by mail-yw1-x1129.google.com with SMTP id 00721157ae682-31cf1adbf92so109542467b3.4; Wed, 13 Jul 2022 04:39:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc; bh=kYOcW9IOsSFEnSNVI3NabOAcHzwmMOPMhoi3vC/X7Hc=; b=dfwZRxcxSwuilXXeR4b3QvFbxZjt/I6Tg7w6J53VQ+9j3eyYy6G+/dRqjASSaL7hL0 1W6c3cIeDRBmqFwsJqGMSjBAhzvEsZULBO6Uw9tObPOEqCAvrjFOPkEy9KAeI3Qkkrhf zoGFBc3r8QeR0FSJmSM9hRG+Hg5DKmPKK79TylPGYxHUR9kN9/7n6kC2b/JNE6aFx4/B I3KFTIjl2v/+F60H7z67h5AFpAKq4pEv9r9FeXhn9NTPLX1mzBh+x/agdfkobcUhL0bw VC/T/JKSWq1QrqxlGUJdYybY5Kud928zjcgm7/hnuX3fdb2zM3tSb+nTjQM9tXPwXgh6 OZEA== 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=kYOcW9IOsSFEnSNVI3NabOAcHzwmMOPMhoi3vC/X7Hc=; b=OrKmPMPlsVEbsgV6Kx15JiQM1ngrZr5fq2ik5Tx+b9a1kuoKw3C0iIU2hZqChld0d9 lkdUBySDIn5T8EOmaLYGLKWw7QK65ZCN+lqzB9MjzBbtxRz6oSj1ticHrHe9Go16+/jy Qzmhd5Xfegnl08k8luTYffaiKoP3ABOQm5W7TKtY+TiXhwJB+baZLM5Cmw/cACXEK1IQ uLmZQvcCV/zgNlG6i90/qZaQp2VjzC4jfeFeBhfvLnsAMfNPMyPNFpviEZ4gtxgI2OVN l0oNsdPzCmqIuVz3bddDdlg+4JgFRexSxRgaJ70EBBbJP5TXXTKOvf6+RO0pqY2znRSJ mnfg== X-Gm-Message-State: AJIora8mBRpyHM5mTbT4NAud5f8oUa9rWzu3b8azVFNVSbpis84g6+XR KoezJ+Le3aBu2VokfxKKZSt8UY6j2hKlXMVEGIY= X-Received: by 2002:a81:4bd7:0:b0:31c:91da:5a20 with SMTP id y206-20020a814bd7000000b0031c91da5a20mr3954784ywa.131.1657712348183; Wed, 13 Jul 2022 04:39:08 -0700 (PDT) MIME-Version: 1.0 References: <6be749842a4ad629c8697101f170dc7e425ae082.1657216200.git.william.gray@linaro.org> In-Reply-To: From: Andy Shevchenko Date: Wed, 13 Jul 2022 13:38:31 +0200 Message-ID: Subject: Re: [PATCH v2 1/6] gpio: i8255: Introduce the i8255 module To: William Breathitt Gray Cc: Bartosz Golaszewski , Linus Walleij , "open list:GPIO SUBSYSTEM" , Linux Kernel Mailing List , Fred Eckert , John Hentges , Jay Dolan Content-Type: text/plain; charset="UTF-8" X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,FREEMAIL_FROM, RCVD_IN_DNSWL_NONE,SPF_HELO_NONE,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Jul 13, 2022 at 12:49 PM William Breathitt Gray wrote: > On Wed, Jul 13, 2022 at 12:10:51PM +0200, Andy Shevchenko wrote: > > On Wed, Jul 13, 2022 at 9:40 AM Bartosz Golaszewski wrote: > > > On Tue, Jul 12, 2022 at 5:06 AM William Breathitt Gray > > > wrote: > > > > On Mon, Jul 11, 2022 at 03:02:10PM +0200, Linus Walleij wrote: ... > > > > I think I'll move this to gpio/driver.h as per Andy Shevchenko's > > > > > > I don't think this is what Andy meant. I think he suggested moving > > > this header into drivers/gpio/ because it doesn't make sense for it to > > > be publicly accessible for anyone else than the GPIO drivers. > > > > > > Andy: correct me if I'm wrong. > > > > No, you are right. I was talking about localizing the header to drivers/gpio. > Sure, I can move it to drivers/gpio/i8255.h to keep it local to the GPIO Please, keep it named in the same pattern as the C-file, but having .h extension. I believe it's gpio-i8255.h. > drivers. It'll be trivia to move this out if the need ever arrives in > the future so I have no problem with that. Thanks! -- With Best Regards, Andy Shevchenko