Received: by 2002:a25:8b91:0:0:0:0:0 with SMTP id j17csp783106ybl; Wed, 4 Dec 2019 10:48:21 -0800 (PST) X-Google-Smtp-Source: APXvYqw+iKVr2Ighlg1aDpHRMRfH4W0i5MA/KBe/+UtnfDQ1wuX0zNEKFNvBS6aHB+iV6SHFxOaf X-Received: by 2002:aca:da02:: with SMTP id r2mr3998644oig.172.1575485301048; Wed, 04 Dec 2019 10:48:21 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1575485301; cv=none; d=google.com; s=arc-20160816; b=AOItewqF60H0l7EK2BhcWSzEQrbM5GXhW07To93OWa28odXWFxfi4vR3RtpJ63YzT/ m596rSfY1pFrzVCHEWBQOdf3ZTmNm4+i45mygjKPhVmA7H3DMIpKMT441lXAlhjJ7hcs LUDlRZ5+79ObG6YTmqLLtHzs1GVHPoyV807a4iERKRSENlJWNQrAdnRqACYdQxH5T/dc PwzEsz/c2n2TvF03wGpHmpoqwihORblcnLCOciLYjcpHNwwxAYKan6JgwOIdbQ3pxL62 oGmW/Iv0526/WGgADdqACYSRp4Rjxv+PZcU6Sj4JZeeaQ0ie38JfskbigEVe7fxF5kCQ Mz1Q== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=Xieo7DVrzh+d8TV7kse3tIsl9PUn9L4rgSef1a60iA8=; b=OVgqJQhq4NHOdos/CYBmDsNQBble31WlxP4p+y3B9QAqEELc2PcJUOVfMAqTiFOZph jFSUN5/ZT33Eo9RbDduIEGuVzPxGOxCv8SYL7EpIFX/mvFzNFQV+T+Lif+wycVMZJPLl a96IklZDytrPfYofLurU5Me/VY3fit1jUtyzk8yxwLgy37bF3LzyaPW3ygnHc1Ufdhtl tA4k1wOv49fasArIFcpjmKzFsgKwCTu59MaSU1tDVXFPXere16oOSYULdIcYH00Wc1kE +NhSyR7+CNtmjn8A2BLWYDkhvjWiHis/S57HDqTAaLT/QOWgHFbJYCzwXUfxyrm5wYc3 omtg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20161025 header.b=Y8eDwwoj; 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 o84si3379127oig.204.2019.12.04.10.48.07; Wed, 04 Dec 2019 10:48:21 -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=Y8eDwwoj; 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 S1727989AbfLDRor (ORCPT + 99 others); Wed, 4 Dec 2019 12:44:47 -0500 Received: from mail-pf1-f193.google.com ([209.85.210.193]:43766 "EHLO mail-pf1-f193.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1726934AbfLDRoq (ORCPT ); Wed, 4 Dec 2019 12:44:46 -0500 Received: by mail-pf1-f193.google.com with SMTP id h14so181938pfe.10; Wed, 04 Dec 2019 09:44:46 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:references:in-reply-to:from:date:message-id:subject:to :cc:content-transfer-encoding; bh=Xieo7DVrzh+d8TV7kse3tIsl9PUn9L4rgSef1a60iA8=; b=Y8eDwwoj1dZld1AfGYSlrrpu8jykA5AqMysL9yMy+QqMWtZhws7mKm7TFcJ3iMlPRg MVugd8YY5lb8A3IvJkuM5CcNvpMZoYfeZ3tJmow++HxwiKAEm7k8CTJu/Hm/V8eF/dGo ktyduDDN3aw5S4c0esnwX8Ybi+XjGuTB3oJ5ufbVNJfp9nGwYVUYyQhhpVkLbtS1VljG OMm/4q0/oj8y+ASPIQahScGplo6l0tOGUAm0rbTUGGAtVG2rilcfuM0qpfscfWOv9hx0 t3Mz+x5hYVYwTIqn8T2II+APZcNYZCnQ4cnQRLubu71mGC85eLGYl7jmPQpnetapXlCz h6UQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:mime-version:references:in-reply-to:from:date :message-id:subject:to:cc:content-transfer-encoding; bh=Xieo7DVrzh+d8TV7kse3tIsl9PUn9L4rgSef1a60iA8=; b=p+8kghuUM3hE0PRV45q72/iFhvCQc93Z47PAJrNHbY4QHYtRqS/qdhNK90QH5Pnsdy uS7Mh0qGbmyhjahPlNsG74NrCj/6ARQRrgFVcAP/+YnjC18HEhiqaaOQP5cz+Hk86zqy DsCLSIwdYJLfXY92GEsp9DWmAABZoWEB9eRNuCiQIZ7n7CA6wScrYW+oHXd8cAgXCM+x CXz/DGX4qEZxp/vtcmwEG7ODo8rcrw6DDOohRDzLFmyRjI+3zhe73L4u883i5yRhkcqJ n31wT6DnsbxIxMt2YZgbSdUzQcI4AznNsRAm/Ou8ag5m0WHIWvriLHSlY1NhpCLQZsaG 2zEQ== X-Gm-Message-State: APjAAAWzQwShG9JMMrFJ1RUpFkYCiA/I5NZM5PUXfqZhKwHumIjCn6EJ o4B+7Mle2FoKdSvMJuBwncfFn2FoNLh1xpSzKXE= X-Received: by 2002:a63:941:: with SMTP id 62mr4933191pgj.203.1575481486183; Wed, 04 Dec 2019 09:44:46 -0800 (PST) MIME-Version: 1.0 References: <20191204101042.4275-2-cleger@kalray.eu> <1746901411.95313623.1575466785578.JavaMail.zimbra@kalray.eu> In-Reply-To: <1746901411.95313623.1575466785578.JavaMail.zimbra@kalray.eu> From: Andy Shevchenko Date: Wed, 4 Dec 2019 19:44:36 +0200 Message-ID: Subject: Re: [PATCH 1/5] gpio: export acpi_gpiochip_request_interrupts in gpio/driver.h To: =?UTF-8?Q?Cl=C3=A9ment_Leger?= Cc: linux-kernel , Linus Walleij , Bartosz Golaszewski , "open list, GPIO SUBSYSTEM" Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Wed, Dec 4, 2019 at 3:39 PM Cl=C3=A9ment Leger wrote: > Ok, should I fix the original driver first and then submit the serie to a= dd pinctrl ? I guess so. Because we definitely don't want a churn with exporting symbols like this. > ----- On 4 Dec, 2019, at 13:35, Andy Shevchenko andy.shevchenko@gmail.com= wrote: > > On Wed, Dec 4, 2019 at 12:13 PM Clement Leger wrote: > >> > >> dwapb-gpio driver which uses this function will be moved to pinctrl fo= r > >> pinctrl support. Export this function in gpio/driver.h to allow using > >> it. > > I don't think this is proper way to do it. > > The driver has to register IRQ chip and GPIO core will take care of > > ACPI related stuff. --=20 With Best Regards, Andy Shevchenko