Received: by 2002:a05:6359:c8b:b0:c7:702f:21d4 with SMTP id go11csp2163119rwb; Sat, 24 Sep 2022 04:11:04 -0700 (PDT) X-Google-Smtp-Source: AMsMyM5aFOxCOxDLVEeocKR2ps+6ZZJZQTUVKBR/KWelKDGxlaOTRd7WmrlIOWLc4Kio6+BHFP76 X-Received: by 2002:a17:90b:33c9:b0:200:9ec2:f2eb with SMTP id lk9-20020a17090b33c900b002009ec2f2ebmr14825994pjb.29.1664017864460; Sat, 24 Sep 2022 04:11:04 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1664017864; cv=none; d=google.com; s=arc-20160816; b=wLCimTBElwqoxvrWcvP3SOGRcAYKXO5AE2kk27ypFORG2Fo3tRvX0los5ZSUP57c2A CQ82OY0GSeCyJ0SWmei6pRiMAPQwfjX3LNsPObt2ZmkxvUBjUb+FgRXc7mkRnHb0uYvP hNq3m65Dv3D3qqLg+T7dBHoAd/P7Dz+h8bCKrgJ0vrpyHq4RoFbuwfrxL+OLlkosya6e uImHjKP2l6mVXsLtJ0TNWc+feB6XkPMWgu2hR5/yxKRw7F5fkxCD3k5+wp0HZju4OcEh RjwffZoHdbLGFZ5s4dEZZ8hJYwxaj3A3teHHxlDqANskd7FNOKvIJRhF6Tkom+2mNECb 2AgA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:in-reply-to:content-disposition:mime-version :references:message-id:subject:cc:to:from:date; bh=Eu0CRr1evbeHKdXlv29nO6+XxzgvgjgBZjkw2MK2qco=; b=SrekQdRD4j8PGGdgDWLc+/FvpC81rU5x+OtmixoBPNEHwMD3lVDvmPoH+C+0NXHuCD LGt9INNlX5RQwNYDqdYi/xsbZ97Jb9+A2cKLDS+yRj7kHpcZUKqHOk4aFbQBhyKPsVDF MRBl35cCklOBHRDaFIYkaJC7VznY1+yikhbUrCqwo9+LlNZqw6Aj/w8otK2By5ryTIxQ tP4x+nbVobXZZvQP/VGCAb94Brh+XViuHT5U+MDmh3NeLfNTa6tX2HLgRe14S+CbPnVq IwvG7Zpx8yxiNVB8idFU2HqQch2iEg3gqZGq4qF8mPKWl6OtORdIGwuJFveJz6IApBTJ m/Xg== ARC-Authentication-Results: i=1; mx.google.com; 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 Return-Path: Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id u21-20020aa78395000000b005572895941asi3590628pfm.139.2022.09.24.04.10.53; Sat, 24 Sep 2022 04:11:04 -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; 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 Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233520AbiIXKFD (ORCPT + 99 others); Sat, 24 Sep 2022 06:05:03 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:42436 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S229849AbiIXKFB (ORCPT ); Sat, 24 Sep 2022 06:05:01 -0400 Received: from metis.ext.pengutronix.de (metis.ext.pengutronix.de [IPv6:2001:67c:670:201:290:27ff:fe1d:cc33]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id A6D3F36870 for ; Sat, 24 Sep 2022 03:04:59 -0700 (PDT) Received: from drehscheibe.grey.stw.pengutronix.de ([2a0a:edc0:0:c01:1d::a2]) by metis.ext.pengutronix.de with esmtps (TLS1.3:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1oc21p-0000kO-SB; Sat, 24 Sep 2022 12:04:57 +0200 Received: from [2a0a:edc0:0:900:1d::77] (helo=ptz.office.stw.pengutronix.de) by drehscheibe.grey.stw.pengutronix.de with esmtp (Exim 4.94.2) (envelope-from ) id 1oc21q-002ch7-KQ; Sat, 24 Sep 2022 12:04:57 +0200 Received: from ukl by ptz.office.stw.pengutronix.de with local (Exim 4.94.2) (envelope-from ) id 1oc21o-003Bxd-C9; Sat, 24 Sep 2022 12:04:56 +0200 Date: Sat, 24 Sep 2022 12:04:53 +0200 From: Uwe =?utf-8?Q?Kleine-K=C3=B6nig?= To: Andy Shevchenko Cc: linux-kernel@vger.kernel.org, linux-pwm@vger.kernel.org, Thierry Reding Subject: Re: [PATCH v2 4/9] pwm: lpss: Include headers we are direct user of Message-ID: <20220924100453.hupbeotwqrehc4yq@pengutronix.de> References: <20220908135658.64463-1-andriy.shevchenko@linux.intel.com> <20220908135658.64463-5-andriy.shevchenko@linux.intel.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="47jfuq66hwnevjmr" Content-Disposition: inline In-Reply-To: <20220908135658.64463-5-andriy.shevchenko@linux.intel.com> X-SA-Exim-Connect-IP: 2a0a:edc0:0:c01:1d::a2 X-SA-Exim-Mail-From: ukl@pengutronix.de X-SA-Exim-Scanned: No (on metis.ext.pengutronix.de); SAEximRunCond expanded to false X-PTX-Original-Recipient: linux-kernel@vger.kernel.org X-Spam-Status: No, score=-4.2 required=5.0 tests=BAYES_00,RCVD_IN_DNSWL_MED, 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 --47jfuq66hwnevjmr Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Thu, Sep 08, 2022 at 04:56:53PM +0300, Andy Shevchenko wrote: > For the sake of integrity, include headers we are direct user of. >=20 > While at it, replace device.h with a forward declaration and add > missed struct pwm_lpss_boardinfo one. >=20 > Signed-off-by: Andy Shevchenko > --- > drivers/pwm/pwm-lpss.h | 6 +++++- > 1 file changed, 5 insertions(+), 1 deletion(-) >=20 > diff --git a/drivers/pwm/pwm-lpss.h b/drivers/pwm/pwm-lpss.h > index c344921b2cab..839622964b2a 100644 > --- a/drivers/pwm/pwm-lpss.h > +++ b/drivers/pwm/pwm-lpss.h > @@ -10,11 +10,15 @@ > #ifndef __PWM_LPSS_H > #define __PWM_LPSS_H > =20 > -#include > #include > +#include > =20 > #define MAX_PWMS 4 > =20 > +struct device; It's not clear to me how this is an improvment. Isn't it saner to include ? > +struct pwm_lpss_boardinfo; Why is this necessary? The struct is defined a few lines below the context of this patch and I see no user that would benefit. Best regards Uwe --=20 Pengutronix e.K. | Uwe Kleine-K=F6nig | Industrial Linux Solutions | https://www.pengutronix.de/ | --47jfuq66hwnevjmr Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQEzBAABCgAdFiEEfnIqFpAYrP8+dKQLwfwUeK3K7AkFAmMu1kIACgkQwfwUeK3K 7AlamAf/da0g9V09MPj9pr+Fcj7wdKmqtsIvWW9rz3g6glVS6HNpATjwsxoTkaIk 14hu1Q9C9zO7YAnXz+ou50XL93JcyAOGTzyWlAznfulQ3XaYy3O3UpLrwSvirOYb Jk82fsNn9gysglXm2cXGMzgfGcU/6+FJq4oz77nsnLTEWYx4ZAPM5Pofr0szOJ3A D6E+vVM3Z5FYEjSGARZEQKoX9ERpzjfZosuk8Pllb95lJEJH2ifPZSDes4cLoi0o ZyVz8tNohs5yquWTOcekWbAY58mz5tjLQmgxE6W20qm5GhwegVrAMmaH610KIxni zU2jXJB175e32ZxxTPtFvZXBlmpQpw== =tZGf -----END PGP SIGNATURE----- --47jfuq66hwnevjmr--