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 914BFC7EE24 for ; Sat, 3 Jun 2023 11:13:50 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229829AbjFCLNt (ORCPT ); Sat, 3 Jun 2023 07:13:49 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:34654 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S232870AbjFCLNs (ORCPT ); Sat, 3 Jun 2023 07:13:48 -0400 Received: from fgw22-7.mail.saunalahti.fi (fgw22-7.mail.saunalahti.fi [62.142.5.83]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 4D15E18C for ; Sat, 3 Jun 2023 04:13:47 -0700 (PDT) Received: from localhost (88-113-26-95.elisa-laajakaista.fi [88.113.26.95]) by fgw22.mail.saunalahti.fi (Halon) with ESMTP id b4799f57-01ff-11ee-a9de-005056bdf889; Sat, 03 Jun 2023 14:13:45 +0300 (EEST) From: andy.shevchenko@gmail.com Date: Sat, 3 Jun 2023 14:13:45 +0300 To: inv.git-commit@tdk.com Cc: jic23@kernel.org, linux-iio@vger.kernel.org, lars@metafoo.de, Jean-Baptiste Maneyrol Subject: Re: [PATCH 2/4] iio: move inv_icm42600 timestamp module in common Message-ID: References: <20230531142513.48507-1-inv.git-commit@tdk.com> <20230531142513.48507-3-inv.git-commit@tdk.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20230531142513.48507-3-inv.git-commit@tdk.com> Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org Wed, May 31, 2023 at 02:25:11PM +0000, inv.git-commit@tdk.com kirjoitti: > From: Jean-Baptiste Maneyrol > > Create new inv_sensors common modules and move inv_icm42600 > timestamp module inside. > Modify inv_icm42600 driver to use timestamp module. ... > #include > #include > +#include > #include > - Leave this blank line. It helps to divide generic headers and IIO (subsystem) related. > -#include "inv_icm42600_timestamp.h" > +#include ... > #include + Blank line? > #include Keep it ordered? (But yeah, this one probably out of scope of the series.) > #include > +#include > #include "inv_icm42600.h" > -#include "inv_icm42600_timestamp.h" > #include "inv_icm42600_buffer.h" ... > #include > #include + Blank line? > #include > +#include Keep it ordered? > > #include "inv_icm42600.h" > #include "inv_icm42600_buffer.h" > -#include "inv_icm42600_timestamp.h" ... > #include > #include > #include > +#include > #include > > #include "inv_icm42600.h" > #include "inv_icm42600_temp.h" > #include "inv_icm42600_buffer.h" > -#include "inv_icm42600_timestamp.h" As per above comments. -- With Best Regards, Andy Shevchenko