Received: by 2002:a05:6358:d09b:b0:dc:cd0c:909e with SMTP id jc27csp460310rwb; Thu, 10 Nov 2022 03:20:46 -0800 (PST) X-Google-Smtp-Source: AMsMyM7pSjT1jcqHkE2VsowVKG/tvCWTKt4n3L2lh/KUpSl8VurUJ6hqlhKOU22DAot2pyq+52Xr X-Received: by 2002:a05:6402:4498:b0:459:f04:a6e0 with SMTP id er24-20020a056402449800b004590f04a6e0mr2140859edb.22.1668079246507; Thu, 10 Nov 2022 03:20:46 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1668079246; cv=none; d=google.com; s=arc-20160816; b=GAbSWmrTBtK6H60BEypHsblg2BMR2Qkxm2FE3TjeGaRVXvUvXD6daFN/De3STQc2bu 4N0P8nU5yT842dlnOb1OTOWSSPnwKQlpztRq9b5M5KjOsNdNdAPmmAyr9j0uHyHZSB6W D7jS6Nzhw0SLsq5EFqfVDaV8D10wuhWjPY+eg3A+P9X+jy7owH0kZXIzEFyuYmUiAAWB 6VpIrXQ59VRpScl4Vxq/7v71jEosssXa0qPegp2DQc8Zfjx+S5jgcGa/qeG4P+DYlXRr sIWeYeLBZVRokKB1nxCCY4dGFh4MXOAiDgxemKEvxXdankzZvM0x8lWRsyNnYREixzYL gxQg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:cc:to:subject :message-id:date:from:in-reply-to:references:mime-version :dkim-signature; bh=s7OQDRdg/PBKb75GJhg597BiFzGJdloU/76dILAYuhQ=; b=jFVQLhVmPLezdt5YbzJ9v5cNUaWWv2BvaJBNw1QYB5SiEck0OMhHktbxERTRCbyvpA ulca1aapWaG/IxfDevTANj/z0nPO8b5YjOG8Ob6u9KpMs2S5tMXIriHGrZLU3979yzja taJ6JZ9bL4s7P8GdcpcfE9XTSuxUBkuptTQtgvAt0YdD03xH8R/DbgVfUQvtYX8Dss5o zujq1DL+J+EHPfnD5jcVkjWEMa/O1MSvavwUwcFI3nwZ3nziIByZW5ZFYhwRoMx2XGAV 9rK6wifW9yMKXbOidQ2DVIx05VKHONnkC6ka17Wmbs7ff2GwGJZqsVCnuIa030qGGgQY 4aUA== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@gmail.com header.s=20210112 header.b=GVEyzN1e; 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 m8-20020aa7c488000000b00459cf784343si6270304edq.176.2022.11.10.03.20.23; Thu, 10 Nov 2022 03:20:46 -0800 (PST) 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=GVEyzN1e; 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 S229520AbiKJKZA (ORCPT + 92 others); Thu, 10 Nov 2022 05:25:00 -0500 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:53854 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230000AbiKJKYw (ORCPT ); Thu, 10 Nov 2022 05:24:52 -0500 Received: from mail-qt1-x82e.google.com (mail-qt1-x82e.google.com [IPv6:2607:f8b0:4864:20::82e]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id CCBDD663FA; Thu, 10 Nov 2022 02:24:51 -0800 (PST) Received: by mail-qt1-x82e.google.com with SMTP id a27so656751qtw.10; Thu, 10 Nov 2022 02:24:51 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20210112; h=content-transfer-encoding:cc:to:subject:message-id:date:from :in-reply-to:references:mime-version:from:to:cc:subject:date :message-id:reply-to; bh=s7OQDRdg/PBKb75GJhg597BiFzGJdloU/76dILAYuhQ=; b=GVEyzN1eEbMQyQBN2auzyQXHH73BcHa5Fyfr5jepcgR2gPq6KEYPE5FR9JhvJmElyb 3FjOFTFg+RfCtXet32H7kvn8eSW+WZa2yFGHIkYKKjeCJgTjQDMOGWTvPguPuAwMtfDD XAALI6jGkEC91xwDh04WLsnQkHoARIXhcSDQak3FygTVJ7nku8lXvq1Z2r68W3BR6GZ6 Nu4xI/mGAKSLe0WG19qR/03vYvuLVaSwIjzOR858paVaD2Vgle0dQUv86jCrIbt2VTns T62p3Z+mslNJJ2bAYJRH3OHcKyZjulKCmKq4mCo9jlIbKHxdqu1P11OisilaDagcuvkd Tk8A== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20210112; h=content-transfer-encoding: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=s7OQDRdg/PBKb75GJhg597BiFzGJdloU/76dILAYuhQ=; b=s5Dcao/YK76j7uzFi1FoWjH9gPf2jOUMfT3QdhKMIZmBIYzkF5XjA6fHQ8fAuHJbkf JJC7spVEWC2KYThU5vu95kIoURvUUomQZpX5vASlvP0xKSFQxpfeE2zUBUj5pdNFSxrR s8o0Kq9VDsHFZhkihehnvQQGeF1xhyeGjxoKfUo1f9CiT5Z0A1avc2fGiEtE/e/20d11 IY2ULaGm7b88sv3qMCbbAo6ioIDxQXSM2gdShhk7nZGOv2rkGkIuEcigoKBz+rFhkNuB VileK/8pcttEA4uNFn+/5+fZweK/7ina6vuYrXi4n4c+1SzgsNv7JHdwIiE6wWChm5nH WeNw== X-Gm-Message-State: ACrzQf1eN8DVDKPA+u0ML2C4zE3qIJtByKysrrHDZOMgstdCsr/GuoEF PPMXcYfXTIoYClQjObJ7rI22jftGlkHITtXNT7M= X-Received: by 2002:ac8:7152:0:b0:3a5:2fa2:cd1a with SMTP id h18-20020ac87152000000b003a52fa2cd1amr40497653qtp.195.1668075890956; Thu, 10 Nov 2022 02:24:50 -0800 (PST) MIME-Version: 1.0 References: <20221108142226.63161-1-andriy.shevchenko@linux.intel.com> <20221108142226.63161-4-andriy.shevchenko@linux.intel.com> <20221110072144.2s37r52qcpi6utgh@pengutronix.de> <20221110102025.2tqdb3v6ndg6vyqk@pengutronix.de> In-Reply-To: <20221110102025.2tqdb3v6ndg6vyqk@pengutronix.de> From: Andy Shevchenko Date: Thu, 10 Nov 2022 12:24:14 +0200 Message-ID: Subject: Re: [PATCH v2 3/6] pwm: lpss: Include headers we are direct user of To: =?UTF-8?Q?Uwe_Kleine=2DK=C3=B6nig?= Cc: Andy Shevchenko , Mika Westerberg , Hans de Goede , Thierry Reding , linux-kernel@vger.kernel.org, linux-gpio@vger.kernel.org, linux-pwm@vger.kernel.org, Andy Shevchenko , Linus Walleij Content-Type: text/plain; charset="UTF-8" Content-Transfer-Encoding: quoted-printable 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 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 Thu, Nov 10, 2022 at 12:20 PM Uwe Kleine-K=C3=B6nig wrote: > On Thu, Nov 10, 2022 at 11:53:59AM +0200, Andy Shevchenko wrote: > > On Thu, Nov 10, 2022 at 9:22 AM Uwe Kleine-K=C3=B6nig > > wrote: > > > On Tue, Nov 08, 2022 at 04:22:23PM +0200, Andy Shevchenko wrote: ... > > > > Replace device.h with a forward declaration in order to improve > > > > the compilation time due to reducing overhead of device.h parsing > > > > with entire train of dependencies. > > > > > > Together with "For the sake of integrity, include headers we are dire= ct > > > user of." this makes an a bit schizophrenic impression on me. You add > > > because the file is a direct user of it, but you drop > > > despite being a direct user. > > > > But we don't use device.h. > > What is the canonical header to provide struct device? But we don't use the struct device here. We use _pointer_ to a struct devic= e. --=20 With Best Regards, Andy Shevchenko