From patchwork Mon Jun 12 20:13:36 2023 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Christophe JAILLET X-Patchwork-Id: 106803 Return-Path: Delivered-To: ouuuleilei@gmail.com Received: by 2002:a59:994d:0:b0:3d9:f83d:47d9 with SMTP id k13csp114513vqr; Mon, 12 Jun 2023 13:25:13 -0700 (PDT) X-Google-Smtp-Source: ACHHUZ7KWJxGbnDu1D423znOPClJ6f3DbpDmQ+Pg6hS8262Q+hMniMEtMRIwqGt+LSzqU3KgaH4t X-Received: by 2002:a05:6a20:d903:b0:10b:4a5d:87e with SMTP id jd3-20020a056a20d90300b0010b4a5d087emr9968852pzb.53.1686601513493; Mon, 12 Jun 2023 13:25:13 -0700 (PDT) ARC-Seal: i=1; a=rsa-sha256; t=1686601513; cv=none; d=google.com; s=arc-20160816; b=s2C7UFWvhrsOhtjKXEBWzFSilBEU4CIWPW1WIHu9xbnu8eD6GfiB+woAOSa0rcyd/N OGSeyYqw6ysgGF9qmfrGzwddJW2yRGNAgef7tbH71UyTSf7d8czAMpS6ul58y7+HC0PN VmnoJFmhpryeo3pNlyBONQe+IDSVfsAr/lOfFPZD8nHP9hrqVYCAHG7OvFN0XkbDN4dF MX/IfXTlkxaA0dFxs0OnC6uAQ/sRnWj/mTtcLxiPJFD4roLze2dpRKvvW/db4o6kMbHj q8tFEnbQbY8TZj062X7MV4aXel/LseEJvybE84177moGRQpqxT83sQYkqKMMy9cdU3s9 ueYQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:content-transfer-encoding:mime-version :message-id:date:subject:cc:to:from:dkim-signature; bh=C0M6mK52caELyzvGykIbR2TnUvJ7TdmnReFTsMllVYY=; b=e1zi4TZHz3w5OO4HvvDgnmlZIQrv3ZgZkAweQ9ys6udOw6ZHlZ6fM9kuwx9hz0FtAl TX+WLY9+Y8tA83OEqwIPP3PoDeaE1RMvKtusVyZlZC/Pvnu8vpaK8J+O55MJ3WeeTfsv zN5pzamvu4gmUy/RvGoSTMXjjshzlLNP0bhyKE877IzupZ0EEa1OnhVbJZc5mEZ/sqju SXE8i/6JBVTNeYq6VJf/MW6PtxH95VixOyZlTddOD2zzjhInxsVpc6m1sfuCB/IpkDy9 eSJSPtnYU8gpKuzVnHXtcC6ZNVXYaex70wP0ptDJzjxOsoE2lXHMOaBT2aJhRT5dTtn1 +mIw== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=soYZ4Z1z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: from out1.vger.email (out1.vger.email. [2620:137:e000::1:20]) by mx.google.com with ESMTP id g193-20020a636bca000000b00543b4433aa8si3751322pgc.513.2023.06.12.13.25.01; Mon, 12 Jun 2023 13:25:13 -0700 (PDT) Received-SPF: pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) client-ip=2620:137:e000::1:20; Authentication-Results: mx.google.com; dkim=pass header.i=@wanadoo.fr header.s=t20230301 header.b=soYZ4Z1z; spf=pass (google.com: domain of linux-kernel-owner@vger.kernel.org designates 2620:137:e000::1:20 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S237493AbjFLUN4 (ORCPT + 99 others); Mon, 12 Jun 2023 16:13:56 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:45214 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S235206AbjFLUNs (ORCPT ); Mon, 12 Jun 2023 16:13:48 -0400 Received: from smtp.smtpout.orange.fr (smtp-22.smtpout.orange.fr [80.12.242.22]) by lindbergh.monkeyblade.net (Postfix) with ESMTPS id 87BC210F9 for ; Mon, 12 Jun 2023 13:13:43 -0700 (PDT) Received: from pop-os.home ([86.243.2.178]) by smtp.orange.fr with ESMTPA id 8nv2q2OP12KZV8nv2qCD99; Mon, 12 Jun 2023 22:13:40 +0200 DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=wanadoo.fr; s=t20230301; t=1686600820; bh=C0M6mK52caELyzvGykIbR2TnUvJ7TdmnReFTsMllVYY=; h=From:To:Cc:Subject:Date; b=soYZ4Z1zClx9uA/59Yc5hZhdVWI68kOqEadC2OWkjc+bhbMltnjgANW3zXEY+jIkN nIwo051uMcEFR8+NptvigkAN6a0yRVYm2TMzBDN6AO1MyDLpan9IsBbethzp26WX7R XKmABLqhj13LtfHbs7uZNpu/d1ZHVUisotyIhYH3UoHu92b6daRouKk+6eI6WZ4Gzx m+edUtp14+QNKOxtl/y6I/gKrdWRRbFN5Yya6cxtVJwAu9caP27y1+DYpfatYCtUS/ oeJFM7N8/P1tsXni6cPMBgcMho7wghJEUQlXiPgUs2d0o0/I5rz3vx50E0MZhYXlUv zgjrpuS3E2wJA== X-ME-Helo: pop-os.home X-ME-Auth: Y2hyaXN0b3BoZS5qYWlsbGV0QHdhbmFkb28uZnI= X-ME-Date: Mon, 12 Jun 2023 22:13:40 +0200 X-ME-IP: 86.243.2.178 From: Christophe JAILLET To: Jonathan Cameron , Lars-Peter Clausen Cc: linux-kernel@vger.kernel.org, kernel-janitors@vger.kernel.org, Christophe JAILLET , linux-iio@vger.kernel.org Subject: [PATCH 1/2] iio: st_sensors: Remove some redundant includes Date: Mon, 12 Jun 2023 22:13:36 +0200 Message-Id: <045ca726a9108325a3eaace807a264170895686c.1686600780.git.christophe.jaillet@wanadoo.fr> X-Mailer: git-send-email 2.34.1 MIME-Version: 1.0 X-Spam-Status: No, score=-2.1 required=5.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,DKIM_VALID_AU,DKIM_VALID_EF,RCVD_IN_DNSWL_NONE, RCVD_IN_MSPIKE_H2,SPF_HELO_PASS,SPF_PASS,T_SCC_BODY_TEXT_LINE autolearn=ham autolearn_force=no version=3.4.6 X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on lindbergh.monkeyblade.net Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org X-getmail-retrieved-from-mailbox: =?utf-8?q?INBOX?= X-GMAIL-THRID: =?utf-8?q?1768529868570048614?= X-GMAIL-MSGID: =?utf-8?q?1768529868570048614?= st_sensors_(i2c|spi).h already include st_sensors.h, so there is no need to include it explicitly. Signed-off-by: Christophe JAILLET --- drivers/iio/accel/st_accel_spi.c | 1 - drivers/iio/gyro/st_gyro_i2c.c | 1 - drivers/iio/gyro/st_gyro_spi.c | 1 - drivers/iio/magnetometer/st_magn_i2c.c | 1 - drivers/iio/magnetometer/st_magn_spi.c | 1 - drivers/iio/pressure/st_pressure_i2c.c | 1 - drivers/iio/pressure/st_pressure_spi.c | 1 - 7 files changed, 7 deletions(-) diff --git a/drivers/iio/accel/st_accel_spi.c b/drivers/iio/accel/st_accel_spi.c index f72a24f45322..ae5bf3b47209 100644 --- a/drivers/iio/accel/st_accel_spi.c +++ b/drivers/iio/accel/st_accel_spi.c @@ -13,7 +13,6 @@ #include #include -#include #include #include "st_accel.h" diff --git a/drivers/iio/gyro/st_gyro_i2c.c b/drivers/iio/gyro/st_gyro_i2c.c index 5a10a3556ab0..ceebd246100c 100644 --- a/drivers/iio/gyro/st_gyro_i2c.c +++ b/drivers/iio/gyro/st_gyro_i2c.c @@ -13,7 +13,6 @@ #include #include -#include #include #include "st_gyro.h" diff --git a/drivers/iio/gyro/st_gyro_spi.c b/drivers/iio/gyro/st_gyro_spi.c index 22aaabe48e4a..afdb8dffd72d 100644 --- a/drivers/iio/gyro/st_gyro_spi.c +++ b/drivers/iio/gyro/st_gyro_spi.c @@ -13,7 +13,6 @@ #include #include -#include #include #include "st_gyro.h" diff --git a/drivers/iio/magnetometer/st_magn_i2c.c b/drivers/iio/magnetometer/st_magn_i2c.c index 950826dd20bf..b9221794cf00 100644 --- a/drivers/iio/magnetometer/st_magn_i2c.c +++ b/drivers/iio/magnetometer/st_magn_i2c.c @@ -13,7 +13,6 @@ #include #include -#include #include #include "st_magn.h" diff --git a/drivers/iio/magnetometer/st_magn_spi.c b/drivers/iio/magnetometer/st_magn_spi.c index f203e1f87eec..5540500ba9fa 100644 --- a/drivers/iio/magnetometer/st_magn_spi.c +++ b/drivers/iio/magnetometer/st_magn_spi.c @@ -13,7 +13,6 @@ #include #include -#include #include #include "st_magn.h" diff --git a/drivers/iio/pressure/st_pressure_i2c.c b/drivers/iio/pressure/st_pressure_i2c.c index 5101552e3f38..8ba0d1212401 100644 --- a/drivers/iio/pressure/st_pressure_i2c.c +++ b/drivers/iio/pressure/st_pressure_i2c.c @@ -14,7 +14,6 @@ #include #include -#include #include #include "st_pressure.h" diff --git a/drivers/iio/pressure/st_pressure_spi.c b/drivers/iio/pressure/st_pressure_spi.c index 25cca5ad7c55..ffa1970a5aeb 100644 --- a/drivers/iio/pressure/st_pressure_spi.c +++ b/drivers/iio/pressure/st_pressure_spi.c @@ -13,7 +13,6 @@ #include #include -#include #include #include "st_pressure.h"