From patchwork Fri Jun 11 17:13:47 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12316295 Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-19.2 required=3.0 tests=BAYES_00,DKIMWL_WL_HIGH, DKIM_SIGNED,DKIM_VALID,DKIM_VALID_AU,INCLUDES_CR_TRAILER,INCLUDES_PATCH, MAILING_LIST_MULTI,SPF_HELO_NONE,SPF_PASS,USER_AGENT_GIT autolearn=ham autolearn_force=no version=3.4.0 Received: from mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id 83DA7C48BE5 for ; Fri, 11 Jun 2021 17:12:18 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 6C5FD613F5 for ; Fri, 11 Jun 2021 17:12:18 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S231447AbhFKROP (ORCPT ); Fri, 11 Jun 2021 13:14:15 -0400 Received: from mail.kernel.org ([198.145.29.99]:60578 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230186AbhFKROP (ORCPT ); Fri, 11 Jun 2021 13:14:15 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 76F23613E9; Fri, 11 Jun 2021 17:12:16 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1623431537; bh=A+lbXcqxH4WuaYciOdHNZSt65MQry63DGvw7a4M0naI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=H6zk83Zw7i0vD6c7i8X3xav8r+tLNQqspLPk8fGd8UiJigftslb3mW2CrFkAW1GgK 59/Kt9BFT2w1+2I1ZE1opV6wMq/3TMLuhWns5wW/WaLSX1wvKCvFNgF4D7afzMz7i5 sINokLudzkSaQg7OAJwM7xEOC/N6mUe9+FbMjtccdY9kXDSg1nYwTueZZyHcvEtwaA 6CAjI6Gih5/VUvsNqYFzxakQtILvH2pP079U14ZIt7lJFKcK1dl0TpaC2voJCHMsFi LNcEf7khMgwRsTmR06klYhXxeA+F1kQijd7Hhszu1D7LFPBJghaRzaA0gYZGLgTi2d fgf8yF3yHXOfA== From: Jonathan Cameron To: linux-iio@vger.kernel.org Cc: Jonathan Cameron , Hans de Goede , Jelle van der Waa , Aleksei Mamlin Subject: [PATCH 05/12] iio:accel:domintech: Cleanup includes. Date: Fri, 11 Jun 2021 18:13:47 +0100 Message-Id: <20210611171355.202903-6-jic23@kernel.org> X-Mailer: git-send-email 2.31.1 In-Reply-To: <20210611171355.202903-1-jic23@kernel.org> References: <20210611171355.202903-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron Based on consideration of the output of the include-what-you-use tool. In this case, mostly additions of includes. A lot of this is about consistency across IIO rather than them being strictly required. Signed-off-by: Jonathan Cameron Cc: Hans de Goede Cc: Jelle van der Waa Cc: Aleksei Mamlin --- drivers/iio/accel/dmard06.c | 4 +++- drivers/iio/accel/dmard09.c | 2 ++ drivers/iio/accel/dmard10.c | 2 +- 3 files changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/iio/accel/dmard06.c b/drivers/iio/accel/dmard06.c index de2868c28d95..6edc474f51c1 100644 --- a/drivers/iio/accel/dmard06.c +++ b/drivers/iio/accel/dmard06.c @@ -5,9 +5,11 @@ * Copyright (C) 2016 Aleksei Mamlin */ +#include +#include +#include #include #include -#include #include #define DMARD06_DRV_NAME "dmard06" diff --git a/drivers/iio/accel/dmard09.c b/drivers/iio/accel/dmard09.c index e6e28c964777..9155b3a232f4 100644 --- a/drivers/iio/accel/dmard09.c +++ b/drivers/iio/accel/dmard09.c @@ -6,7 +6,9 @@ */ #include +#include #include +#include #include #include diff --git a/drivers/iio/accel/dmard10.c b/drivers/iio/accel/dmard10.c index e84bf8db1e89..c928c67c0857 100644 --- a/drivers/iio/accel/dmard10.c +++ b/drivers/iio/accel/dmard10.c @@ -7,9 +7,9 @@ */ #include +#include #include #include -#include #include #define DMARD10_REG_ACTR 0x00