From patchwork Sun Oct 3 12:17:06 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12532695 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 mail.kernel.org (mail.kernel.org [198.145.29.99]) by smtp.lore.kernel.org (Postfix) with ESMTP id A3F74C4332F for ; Sun, 3 Oct 2021 12:13:47 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 8A18561B40 for ; Sun, 3 Oct 2021 12:13:47 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229505AbhJCMPe (ORCPT ); Sun, 3 Oct 2021 08:15:34 -0400 Received: from mail.kernel.org ([198.145.29.99]:49336 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230156AbhJCMPd (ORCPT ); Sun, 3 Oct 2021 08:15:33 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id C273161872; Sun, 3 Oct 2021 12:13:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633263226; bh=SPigNN45QNJBGGtvHfOZ4TqkKhzFeLkzF6rKEk6xEQg=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=TQlbW414oMvdolpOw+53e3OnQlm9cojmRj+YWxzu2dgChJuTOGbKW9ZNN0bJeO0Gx kjlVFxCx046jFJNZZJ4lRCUfOh+CzH5ohMwF4K13TDx6Hx5VoYn9gdS5GORhVZ48Yp U8O3cmui9bfIirTelFfYIZcRA6wSH5ohFr0jsrKSwVjEuOhL6EdcY80Rha8dkGPSqz 32f3crdUAcsaz/loy3VNAXgylJoTIgUbVN1L/dl6J1ACJfRPZfawmM0kIPpWuuc1vp 0jxDL2cPBJlnMU7Z3/gjGiHBpr4h3W48K+4jayOpAb3Bi4gfvH5JzEScI053TUIqLM TszLxCPMCZnPA== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Benson Leung , Enric Balletbo i Serra , Guenter Roeck Cc: Andy Shevchenko , Jonathan Cameron Subject: [PATCH 2/7] iio: cros_ec_sensors: Remove excessive IIO includes Date: Sun, 3 Oct 2021 13:17:06 +0100 Message-Id: <20211003121711.279736-3-jic23@kernel.org> X-Mailer: git-send-email 2.33.0 In-Reply-To: <20211003121711.279736-1-jic23@kernel.org> References: <20211003121711.279736-1-jic23@kernel.org> MIME-Version: 1.0 Precedence: bulk List-ID: X-Mailing-List: linux-iio@vger.kernel.org From: Jonathan Cameron Identified via the include-what-you-use tool. To keep the scope simple, this only includes removal of IIO related headers that are completely unused in these files. Signed-off-by: Jonathan Cameron --- drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c | 4 ---- drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c | 1 - 2 files changed, 5 deletions(-) diff --git a/drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c b/drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c index 376a5b30010a..9a02c2cd8762 100644 --- a/drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c +++ b/drivers/iio/common/cros_ec_sensors/cros_ec_sensors.c @@ -9,12 +9,8 @@ */ #include -#include #include #include -#include -#include -#include #include #include #include diff --git a/drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c b/drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c index 28bde13003b7..86d8fe1146d7 100644 --- a/drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c +++ b/drivers/iio/common/cros_ec_sensors/cros_ec_sensors_core.c @@ -12,7 +12,6 @@ #include #include #include -#include #include #include #include