From mboxrd@z Thu Jan 1 00:00:00 1970 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 89F8AC433EF for ; Sat, 11 Jun 2022 13:53:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S233775AbiFKNxt (ORCPT ); Sat, 11 Jun 2022 09:53:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:57706 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S233061AbiFKNxs (ORCPT ); Sat, 11 Jun 2022 09:53:48 -0400 Received: from ams.source.kernel.org (ams.source.kernel.org [IPv6:2604:1380:4601:e00::1]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id B584E3F88B; Sat, 11 Jun 2022 06:53:44 -0700 (PDT) Received: from smtp.kernel.org (relay.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ams.source.kernel.org (Postfix) with ESMTPS id C8978B816A6; Sat, 11 Jun 2022 13:53:42 +0000 (UTC) Received: by smtp.kernel.org (Postfix) with ESMTPSA id 4ACFDC34116; Sat, 11 Jun 2022 13:53:28 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1654955621; bh=wC+dRUleca+nkr3JnnArr3KV7sMFZJzv4Kf01ViW4FI=; h=Date:From:To:Cc:Subject:In-Reply-To:References:From; b=SRI6ng1Q5/Z2oZCRMlIRFoa2A9NPEtvGK+heaKY9Ps//MWXEHwiT4Wnb4XXT0iqQm 9Nb4WXWJDKSZN5sPHJiXYyNTP/5iqIv1XS3MYmIZB/76cjlRiSg1z6GTG6NgpQtn/w J5uADVuqiz/t3JNA9EWob2ccwierMscWmd+VQGI5T94QqIf0uyST4gb7YywuIdYJqe YWThqM3/kMOLem9/Muid/F3CsgFrNgXVmqXKACIs7VquiTKP0qOtWH2zgk/J+4TmZ7 1yAy8mzvDuh9NKepKcHn1m3WYqOKPuKnIbTWS5TgA1hD1m0Gin8TZL+F5e92B2FX0C 63uPLcQHDgNaw== Date: Sat, 11 Jun 2022 15:02:40 +0100 From: Jonathan Cameron To: Nuno =?UTF-8?B?U8Oh?= Cc: , , , , , Lad Prabhakar , , , , , , Cai Huoqing , Benjamin Fair , Jishnu Prakash , Linus Walleij , Lars-Peter Clausen , Alexandre Torgue , Amit Kucheria , Andy Gross , Michael Hennerich , Haibo Chen , Benson Leung , "Rafael J. Wysocki" , Alexandre Belloni , Christophe Branchereau , Patrick Venture , Arnd Bergmann , Nancy Yuen , Sascha Hauer , Daniel Lezcano , Gwendal Grignou , Saravanan Sekar , Tali Perry , Maxime Coquelin , Paul Cercueil , Thara Gopinath , Avi Fishman , Lorenzo Bianconi , Claudiu Beznea , Pengutronix Kernel Team , Andy Shevchenko , Fabrice Gasnier , Matthias Brugger , Tomer Maimon , Bjorn Andersson , Nicolas Ferre , Zhang Rui , Shawn Guo , Guenter Roeck , Fabio Estevam , Olivier Moysan , Eugen Hristev , Miquel Raynal Subject: Re: [PATCH 03/34] iio: adc: berlin2-adc: explicitly add proper header files Message-ID: <20220611150240.57136279@jic23-huawei> In-Reply-To: <20220610084545.547700-4-nuno.sa@analog.com> References: <20220610084545.547700-1-nuno.sa@analog.com> <20220610084545.547700-4-nuno.sa@analog.com> X-Mailer: Claws Mail 4.1.0 (GTK 3.24.34; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: quoted-printable Precedence: bulk List-ID: X-Mailing-List: linux-mips@vger.kernel.org On Fri, 10 Jun 2022 10:45:14 +0200 Nuno S=C3=A1 wrote: > Do not trust the fact that iio.h includes of.h which in turn includes > all the headers we are relying on. >=20 > The ultimate goal is to actually drop of.h from iio.h. >=20 > Signed-off-by: Nuno S=C3=A1 Applied. Thanks, > --- > drivers/iio/adc/berlin2-adc.c | 2 ++ > 1 file changed, 2 insertions(+) >=20 > diff --git a/drivers/iio/adc/berlin2-adc.c b/drivers/iio/adc/berlin2-adc.c > index 03987d7e6b3d..3d2e8b4db61a 100644 > --- a/drivers/iio/adc/berlin2-adc.c > +++ b/drivers/iio/adc/berlin2-adc.c > @@ -15,7 +15,9 @@ > #include > #include > #include > +#include > #include > +#include > #include > #include > #include