Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 9B014C54EAA for ; Fri, 27 Jan 2023 13:39:39 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233492AbjA0Nji (ORCPT ); Fri, 27 Jan 2023 08:39:38 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52310 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230004AbjA0Njf (ORCPT ); Fri, 27 Jan 2023 08:39:35 -0500 Received: from mail-yw1-x112e.google.com (mail-yw1-x112e.google.com [IPv6:2607:f8b0:4864:20::112e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4A62F1DB85 for ; Fri, 27 Jan 2023 05:39:34 -0800 (PST) Received: by mail-yw1-x112e.google.com with SMTP id 00721157ae682-4b718cab0e4so66925227b3.9 for ; Fri, 27 Jan 2023 05:39:34 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=linaro.org; s=google; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:from:to:cc:subject:date:message-id:reply-to; bh=8S8RPV9fw6BMpEcc7JR02+RUT9UnoyY1lNMHQuV+VbE=; b=C1eg6FGJm7Is+6UP0y5Lz0u7xtTKMP+5inj9cveWQUIiiJ5EKG/YqTVPBYw7fc27yI 4Ite8sMZnHa6gFB29yWTPtYDQotUC1vAvTK4XCx7raG1Df5gP9z8HqM22mzmo2oC0V8u 6Q6A49HznbfTHYzM1LOlI9ZKWc/yGGRt6Klabp/0XLH3LV7xB18LKS9HwTA9/hjtl2PB 9+9oFi5uUYge7KIc7ZOXLi3CCrKtBJMOUKGsLha6Z890Bn0yEhKtk8M17fIHWRHy+quZ +o3E+vOByMbRg3mmqR7yIadroDHgCDt/ilqcyS0g5q20zvflnSkxS3jwKoJ/JRbRp5lo BtKQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=cc:to:subject:message-id:date:from:in-reply-to:references :mime-version:x-gm-message-state:from:to:cc:subject:date:message-id :reply-to; bh=8S8RPV9fw6BMpEcc7JR02+RUT9UnoyY1lNMHQuV+VbE=; b=XbbiPc+n3mjR+uSOcsaoKxAoRLhiXeTaeGTkpzyuJrtQu60F2cBZihRvGIDMK9CUyo aJELrU6Q/LXfTWUot/fxEjTUipsp9qJ+BKBJyet9QwFKkCaXjJ432TA2EU3XOPNtNS/s /cNZXcDcV/g8EGgZYZMx4abI4glBgutrmRQUgVT6Rh2hZl4c5YqEuSOAoZTFxh4qxSiA SIdINkuZ0DKJKM0OX+sYLEw2tNkMPfmPGupNLhJ3L4bWtEWSozqaQ4CQOf5fS8Hm0JYz ug5J1zPKx5OuoTEoZ9MS6t9CCTUYtT2nLFwrKx0zgn+UeCtxh/hqZ209/AJYznDI7g1t 9EQg== X-Gm-Message-State: AO0yUKULMM+OSKQS4DEMz3SID3B79g/5RyZIOw8CHSDmUCmWRPgNB8OM 30iGG8EAN532NmpmrlsdvLVf9/HsbFBq10pw/PqdsA== X-Google-Smtp-Source: AK7set+qNTRsaSQn+dS1LZUCnQtXAXyipCMB/q4l3QYLL9SFaEovBsOzrdb2iHayUliK6bGrsN3S30MFFhA+bC503GY= X-Received: by 2002:a05:690c:706:b0:506:6952:b9c9 with SMTP id bs6-20020a05690c070600b005066952b9c9mr1281529ywb.477.1674826773543; Fri, 27 Jan 2023 05:39:33 -0800 (PST) MIME-Version: 1.0 References: <20230127101149.3475929-1-arnd@kernel.org> <20230127101149.3475929-7-arnd@kernel.org> In-Reply-To: <20230127101149.3475929-7-arnd@kernel.org> From: Linus Walleij Date: Fri, 27 Jan 2023 14:39:22 +0100 Message-ID: Subject: Re: [PATCH v2 6/7] gpiolib: split linux/gpio/driver.h out of linux/gpio.h To: Arnd Bergmann Cc: linux-gpio@vger.kernel.org, Arnd Bergmann , Andy Shevchenko , Bartosz Golaszewski , Christophe Leroy , Dmitry Torokhov , linux-kernel@vger.kernel.org Content-Type: text/plain; charset="UTF-8" Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jan 27, 2023 at 11:12 AM Arnd Bergmann wrote: > From: Arnd Bergmann > > Almost all gpio drivers include linux/gpio/driver.h, and other > files should not rely on includes from this header. > > Remove the indirect include from here and include the correct > headers directly from where they are used. > > Reviewed-by: Andy Shevchenko > Signed-off-by: Arnd Bergmann As mentioned on v1 you will need two additional patches to avoid build errors from the bots, perhaps Bartosz can cherry-pick them? https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git/commit/?h=gpiochip-no-driver-h&id=73ca8058a7b2075c993040bdc92b6a82f57d4316 https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-gpio.git/commit/?h=gpiochip-no-driver-h&id=89f4f9cc70c686303679e57bdc3ac86507979fe3 (Maybe the Viper cf adapter is deleted in the PXA boardfile removal so it's not an issue. The HTE file needs patching through.) Reviewed-by: Linus Walleij Yours, Linus Walleij