From patchwork Sun Oct 3 12:17:05 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12532691 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 8A1D2C433FE for ; Sun, 3 Oct 2021 12:13:46 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 5EF2961267 for ; Sun, 3 Oct 2021 12:13:45 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230136AbhJCMPb (ORCPT ); Sun, 3 Oct 2021 08:15:31 -0400 Received: from mail.kernel.org ([198.145.29.99]:49314 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230010AbhJCMPb (ORCPT ); Sun, 3 Oct 2021 08:15:31 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id B6B06611C0; Sun, 3 Oct 2021 12:13:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633263224; bh=35nnMRDj5kylJXFuz8iYzx66KGRy+jcLf/tsXrF8eD0=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=rqyOU9ma/3sL6JMNHf3Kssn3IcSJxTXEB5PPlJdm/oa5y4K+G7dzDSA7seeeS0eEp JrlIwJSvEgLtljT7f4WJc3B+1ZntlsvaoXI++xxtmGHwBjC35g4SN7Uq7j73MkW4In lvvhqoS6MPIi4DkFzTGSr7vGi+lNW9SzTJ/OMhKHZInT/VfZCVAC3+ScJfiwI77KVV iqXq+6Hv8s5/JQq1s2Jaekl//WwkM9M5oLymmPsmq5IGUaa5hiwcAWK8b9N4S2rdEz S9q64NtwMAc7yIyKFUnDGaN6NUfq8UMH5Tw9yvzirm3BOY2YI9qRn4zsQMenL7u2z9 aTwFiC3+aQpoA== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Benson Leung , Enric Balletbo i Serra , Guenter Roeck Cc: Andy Shevchenko , Jonathan Cameron Subject: [PATCH 1/7] platform/chrome: cros_ec_sensorhub_ring - avoid including iio.h Date: Sun, 3 Oct 2021 13:17:05 +0100 Message-Id: <20211003121711.279736-2-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 struct iio_dev is only used in the platform code as an opaque pointer type so let us add a forwards definition instead of including the main IIO header. Signed-off-by: Jonathan Cameron --- drivers/platform/chrome/cros_ec_sensorhub_ring.c | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/drivers/platform/chrome/cros_ec_sensorhub_ring.c b/drivers/platform/chrome/cros_ec_sensorhub_ring.c index 98e37080f760..26ab852e1e1f 100644 --- a/drivers/platform/chrome/cros_ec_sensorhub_ring.c +++ b/drivers/platform/chrome/cros_ec_sensorhub_ring.c @@ -7,7 +7,6 @@ #include #include -#include #include #include #include @@ -19,6 +18,8 @@ #include "cros_ec_trace.h" +struct iio_dev; + /* Precision of fixed point for the m values from the filter */ #define M_PRECISION BIT(23) 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 From patchwork Sun Oct 3 12:17:07 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12532697 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 AB74FC433EF for ; Sun, 3 Oct 2021 12:13:49 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 83BF461B40 for ; Sun, 3 Oct 2021 12:13:49 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230160AbhJCMPg (ORCPT ); Sun, 3 Oct 2021 08:15:36 -0400 Received: from mail.kernel.org ([198.145.29.99]:49348 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230156AbhJCMPf (ORCPT ); Sun, 3 Oct 2021 08:15:35 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id E715461267; Sun, 3 Oct 2021 12:13:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633263228; bh=w4qO/pnH1cpbrf1nW1QlqchxPksEP7BsWLtDLi9/hoI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=VyPymae42ZpEHWfqe2PVxUjWXiaAVWYwP2Edgla7cC4pxjY0ZNEMR3zrlrPbTwGer OOtwZqiNImPfvRCYDRJbkJX1giqQh+AMiuKVLTCm7L5avLQh2EvqYLzi7Qe370I0SA RWfFtXWjOFlBn8gGU+vgu75VuqU0biMoBq9zs+aYIYwmGykFJoMxOrnKDXJzfcVPBJ l1AqSKOjjCVunnar++tg9qfXV5GfrR/QGLhIVGh+pCtLb3EphWF0PaDUSPl1niERe5 kR9MLR/c59FZLZ9+hJkbF/V39JRqnkhuYwZ3QfXRJzdfLEd4Wpnxc1idars73xCi4q oybJm5wy2zM9Q== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Benson Leung , Enric Balletbo i Serra , Guenter Roeck Cc: Andy Shevchenko , Jonathan Cameron Subject: [PATCH 3/7] iio: accel: cros_ec_accel_legacy: Drop unused IIO includes Date: Sun, 3 Oct 2021 13:17:07 +0100 Message-Id: <20211003121711.279736-4-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 with the include-what-you-use tool. Note that to keep this patch simple and non controversial it only removes IIO headers that are clearly unused in this driver. Signed-off-by: Jonathan Cameron --- drivers/iio/accel/cros_ec_accel_legacy.c | 3 --- 1 file changed, 3 deletions(-) diff --git a/drivers/iio/accel/cros_ec_accel_legacy.c b/drivers/iio/accel/cros_ec_accel_legacy.c index b6f3471b62dc..f5abe993d38e 100644 --- a/drivers/iio/accel/cros_ec_accel_legacy.c +++ b/drivers/iio/accel/cros_ec_accel_legacy.c @@ -11,12 +11,9 @@ #include #include -#include #include #include #include -#include -#include #include #include #include From patchwork Sun Oct 3 12:17:08 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12532699 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 3CCB7C433F5 for ; Sun, 3 Oct 2021 12:13:52 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 20BA9611C0 for ; Sun, 3 Oct 2021 12:13:52 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230202AbhJCMPi (ORCPT ); Sun, 3 Oct 2021 08:15:38 -0400 Received: from mail.kernel.org ([198.145.29.99]:49390 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230156AbhJCMPh (ORCPT ); Sun, 3 Oct 2021 08:15:37 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id F318561B43; Sun, 3 Oct 2021 12:13:48 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633263230; bh=ECxKCAq2mBnb5kxar7DvmrthPyT4hOzHW3H03Rc0ZN8=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gJunhAfPjoXHdTp86qz5JvpNLJZ5GxoK+lrwL7br0ROqQhys+iUT5/4FsF76YcMbp FCw6B39/z4tflbtojsWCk3AVOIotG4Zk50Mb6Aesm0eq+4jL8RwRK6qbU4Gwjnm/fm fnNndNsKNMY7b8WhBYLpDjc0hAQLwEP2Cv19TbqhrJfH0gzlXP6mWFeEJHzcm1g4Zo YsEHxKwEABwQZ4yWA38f5CHuRAn+8tFdnvMBiDR2a9zdeEBW24mWpCV8cncP4pluu3 IV4SmRG3FvsyHnkzDha7U5EXNLaOkmN5Lv7blkhLQ/xTZf3HdT2qYxXre+GxBxuyxv pvdXe9ySsCffA== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Benson Leung , Enric Balletbo i Serra , Guenter Roeck Cc: Andy Shevchenko , Jonathan Cameron Subject: [PATCH 4/7] iio: cros_ec_lid_angle: Drop unused IIO includes. Date: Sun, 3 Oct 2021 13:17:08 +0100 Message-Id: <20211003121711.279736-5-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 with the include-what-you-use tool. To keep this patch simple, only remove IIO related headers that are clearly unused in this driver. Signed-off-by: Jonathan Cameron --- drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c b/drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c index af801e203623..eb402772b663 100644 --- a/drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c +++ b/drivers/iio/common/cros_ec_sensors/cros_ec_lid_angle.c @@ -12,13 +12,9 @@ #include #include -#include #include #include -#include -#include #include -#include #include #include #include From patchwork Sun Oct 3 12:17:09 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12532701 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 0C435C433F5 for ; Sun, 3 Oct 2021 12:13:54 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id EBF6361B43 for ; Sun, 3 Oct 2021 12:13:53 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230204AbhJCMPk (ORCPT ); Sun, 3 Oct 2021 08:15:40 -0400 Received: from mail.kernel.org ([198.145.29.99]:49414 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230203AbhJCMPk (ORCPT ); Sun, 3 Oct 2021 08:15:40 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 0AA19611EE; Sun, 3 Oct 2021 12:13:50 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633263232; bh=y5DFg+GfRtRPHzS+S8X4RBb67peAf3YMT9j8bXgdbmM=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=jTbvrg+mPJ5g8oUD56XjRhQCB0Ki3qxktXCy3DUTlalEcchHagKvIvKonsnN2z7se CR/9B7IVzxmVV4RHa90EZG0cOSbkoojPp+M/gRggh8aMXw+ZibKQH8RZGHxLnf4Rhm QCEy/Kqm9f9BBGQAXTSXH9808tGmDVgoiO2JFbat7dQiiQVnm0U4WHsYV0MblkzKt9 037L5Wt3Zzo6s06hov4YAVfR0Ny4pZ0KHBbC48Y1x7Vf7pdArKKsNUOGkGrdD531OG qM9H7YgyIXn9YFDQNytcQIWDqdZi9dVtrLX8max+DkDy5gDpcP3KMv5B4aZhy2PcIG 8AYIo825R32lg== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Benson Leung , Enric Balletbo i Serra , Guenter Roeck Cc: Andy Shevchenko , Jonathan Cameron Subject: [PATCH 5/7] iio: light: cros_ec_light_prox: Drop unused IIO includes. Date: Sun, 3 Oct 2021 13:17:09 +0100 Message-Id: <20211003121711.279736-6-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 with the include-what-you-use tool. To keep this patch simple, only drop IIO headers that are clearly unused within this driver. Signed-off-by: Jonathan Cameron --- drivers/iio/light/cros_ec_light_prox.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/iio/light/cros_ec_light_prox.c b/drivers/iio/light/cros_ec_light_prox.c index de472f23d1cb..25b08da72314 100644 --- a/drivers/iio/light/cros_ec_light_prox.c +++ b/drivers/iio/light/cros_ec_light_prox.c @@ -6,13 +6,8 @@ */ #include -#include #include #include -#include -#include -#include -#include #include #include #include From patchwork Sun Oct 3 12:17:10 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12532703 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 3BE1AC433EF for ; Sun, 3 Oct 2021 12:13:56 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2122D61B44 for ; Sun, 3 Oct 2021 12:13:56 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S230207AbhJCMPm (ORCPT ); Sun, 3 Oct 2021 08:15:42 -0400 Received: from mail.kernel.org ([198.145.29.99]:49458 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230156AbhJCMPl (ORCPT ); Sun, 3 Oct 2021 08:15:41 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 17D5E61267; Sun, 3 Oct 2021 12:13:52 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633263234; bh=FypN+458sVDJlELsOA4xYXyvntCZM720NUvOUIWL1Xo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=svn7KX2WJivKJ7DKka1Il6n+6T92FHM25GxOzwY3LbKNYZmzl3dv1V53+p0b+AWyL djyv5Zkx09Ux6qL/03NtaVtiQDyepfD6qQIk3xy/Y5fv8xX5uZwXANb0WzVc31nNYx Cbf1DRG0zgsiekc5KhZimlGQIRFiGe4fDG4MKmRu/WN4jkBg1FfNndbQP2eg+s0Cs7 JIhzGyKJSsQfiezUA40QnNlCheYedVSlg5NmUj9gVhXCNIMKVTv8HWs3vT6AI8plJO ylVkQVwHPwTiaohJGNDolYf64lwTqZiSPzueStfKdsewkqeybsnXmPoKvaIA+Nu+bu kp/HDoNkk8O8g== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Benson Leung , Enric Balletbo i Serra , Guenter Roeck Cc: Andy Shevchenko , Jonathan Cameron Subject: [PATCH 6/7] iio: pressure: cros_ec_baro: Drop unused IIO headers. Date: Sun, 3 Oct 2021 13:17:10 +0100 Message-Id: <20211003121711.279736-7-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 with the include-what-you-use tool. To keep this patch simple, only IIO headers that are clearly not used were considered. Signed-off-by: Jonathan Cameron --- drivers/iio/pressure/cros_ec_baro.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/drivers/iio/pressure/cros_ec_baro.c b/drivers/iio/pressure/cros_ec_baro.c index 2f882e109423..fd2c0fa815bd 100644 --- a/drivers/iio/pressure/cros_ec_baro.c +++ b/drivers/iio/pressure/cros_ec_baro.c @@ -6,13 +6,8 @@ */ #include -#include #include #include -#include -#include -#include -#include #include #include #include From patchwork Sun Oct 3 12:17:11 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 12532705 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 3E054C433F5 for ; Sun, 3 Oct 2021 12:13:59 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by mail.kernel.org (Postfix) with ESMTP id 2B340611EE for ; Sun, 3 Oct 2021 12:13:59 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S229994AbhJCMPp (ORCPT ); Sun, 3 Oct 2021 08:15:45 -0400 Received: from mail.kernel.org ([198.145.29.99]:49478 "EHLO mail.kernel.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S230156AbhJCMPo (ORCPT ); Sun, 3 Oct 2021 08:15:44 -0400 Received: by mail.kernel.org (Postfix) with ESMTPSA id 3AFDE61B43; Sun, 3 Oct 2021 12:13:55 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1633263236; bh=xF9xHctqtPr7TM9GLkhgy+HoyDsCbBnDBZBMMA0Dj+o=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JAzzRYUZ5onCk0BJ92XIMq5UB/MeKAQKX28IY7wrxm/G+oboXXV/I8M6JiqlgnKqr jfiRNIN3dSGOc+oK+K+fuUs3TKBvRVHLaayEBgy0RBwtWmzh7kXXPwURRYhn2qDvmO BR+okZ/DcRrxf8xf3zaWtsNmUADnbWvxqZ5tzf4dcc+vHa2IiJzaj7nhpF5l197zO/ yjf4yJuysJHPN9wMLJXaRYw+LpQvgj+z6DyK3aYtrI3hmVIN9vibgQqN0Q7Ymu+oMY uLDTqFwpTSnT/iKamQZXLcvlgieupyVwx7dcDIqpAH8Lkjr+EqBj3CpisYf8bc7F4e JixDmePYlxXVg== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Benson Leung , Enric Balletbo i Serra , Guenter Roeck Cc: Andy Shevchenko , Jonathan Cameron Subject: [PATCH 7/7] iio: prox: cros_ec_mkbp: Drop unused IIO headers. Date: Sun, 3 Oct 2021 13:17:11 +0100 Message-Id: <20211003121711.279736-8-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 with the include-what-you-use tool. To keep patch simple, only IIO headers that were clearly unused have been considered. Signed-off-by: Jonathan Cameron --- drivers/iio/proximity/cros_ec_mkbp_proximity.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/iio/proximity/cros_ec_mkbp_proximity.c b/drivers/iio/proximity/cros_ec_mkbp_proximity.c index 8213b0081713..55785a55a43b 100644 --- a/drivers/iio/proximity/cros_ec_mkbp_proximity.c +++ b/drivers/iio/proximity/cros_ec_mkbp_proximity.c @@ -19,7 +19,6 @@ #include #include -#include #include