Received: by 2002:a05:7412:3b8b:b0:fc:a2b0:25d7 with SMTP id nd11csp1857958rdb; Sat, 10 Feb 2024 23:57:32 -0800 (PST) X-Google-Smtp-Source: AGHT+IHoXebkEXuhsoqBVq3HN0PuzWz5uuXBVHBhI1bkbQklkcffR3wHxLwIAZmMZE/cFdcgH+0q X-Received: by 2002:a05:6a20:c78f:b0:19e:cc6d:2997 with SMTP id hk15-20020a056a20c78f00b0019ecc6d2997mr359825pzb.55.1707638251891; Sat, 10 Feb 2024 23:57:31 -0800 (PST) ARC-Seal: i=2; a=rsa-sha256; t=1707638251; cv=pass; d=google.com; s=arc-20160816; b=nYZ5n7we19xQ3hmTL7FTA/LDYr4NjYBLjvzNnZujqTHGubRKx+CXG1Gfyfi3dWCtHX mrMzHkeaSPQV/RXWIvt9GvHJyfpmhqvAWybD69BzO9BBciXm7D3pjN3IL3JQJLdgOvg/ quZx1pylbAmBykhpQcYjzgI3m0NBpyxnXjcWA52rR048lsErLcaeioC1Y8tNrB2PgAyK sYV60hgaxwen9+U8E4Vf1key2Az66GQYH9yAzV0yX1bjtyI5sAiqwq6RVdm2X6LurBAV CDaWMqvHjekvKHR35DYZz39fEE5SzKymkQpJpZ5PvgNBuJYIRoh0K7XfsfMqvsSxaljY 0rNg== ARC-Message-Signature: i=2; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=content-transfer-encoding:mime-version:list-unsubscribe :list-subscribe:list-id:precedence:references:in-reply-to:message-id :date:subject:cc:to:from:dkim-signature; bh=ubqgDW5peIsCBWgYw+RpKtR/Q8G39l2J6st2fF9yTZE=; fh=Rd8LlG46iiYpQwLDkQyxqjGRwvNRmb7DOE143EObZwM=; b=lCgWwa2VHFnIaa8mwyiSrTPqG9v8xYWm2BctXX5BzyqWCWeV6aLxzfRj/3kHHh31Qp THHK4MRwEudS1VcVG/BCgknx/pzm/71Y2yWKQVVNsO2Ys3XAx8LIW4d/UrTdFwwGV2kG 1QWgZJzIMWumB2Y7ORXAea76q8flGhF1AqDG2Yr+tsAZR3Vl4wI8pqsG74M0O7Aumlrq 8duCtFwR/IJhqUb0VYFaiPA5B8fY7Kb6fxWsXByzhTOvRM515w93ZexDkMjUpd6YKV1t e57lU3W99/uh2+j4DhSiCdPnI+toZiMpIhqgajyzryI7pgSCrs1Hf2NgLPxDGOZ2jD6O WDUw==; dara=google.com ARC-Authentication-Results: i=2; mx.google.com; dkim=pass header.i=@subdimension.ro header.s=skycaves header.b=ZLcX3PHD; arc=pass (i=1 spf=pass spfdomain=subdimension.ro dkim=pass dkdomain=subdimension.ro); spf=pass (google.com: domain of linux-kernel+bounces-60649-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60649-linux.lists.archive=gmail.com@vger.kernel.org" X-Forwarded-Encrypted: i=2; AJvYcCX43vaKuQhDHqM6KdcbVayTsPVjeDmSISbm92b47s5pfLA2qY6jX7ZnYDWHdELFfrWwIEMTUsBJOi/elpPpc5XhppKPdgOvxlnW57DR/Q== Return-Path: Received: from sy.mirrors.kernel.org (sy.mirrors.kernel.org. [147.75.48.161]) by mx.google.com with ESMTPS id u14-20020a17090341ce00b001da2aac35e9si583418ple.103.2024.02.10.23.57.31 for (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 10 Feb 2024 23:57:31 -0800 (PST) Received-SPF: pass (google.com: domain of linux-kernel+bounces-60649-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) client-ip=147.75.48.161; Authentication-Results: mx.google.com; dkim=pass header.i=@subdimension.ro header.s=skycaves header.b=ZLcX3PHD; arc=pass (i=1 spf=pass spfdomain=subdimension.ro dkim=pass dkdomain=subdimension.ro); spf=pass (google.com: domain of linux-kernel+bounces-60649-linux.lists.archive=gmail.com@vger.kernel.org designates 147.75.48.161 as permitted sender) smtp.mailfrom="linux-kernel+bounces-60649-linux.lists.archive=gmail.com@vger.kernel.org" Received: from smtp.subspace.kernel.org (wormhole.subspace.kernel.org [52.25.139.140]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by sy.mirrors.kernel.org (Postfix) with ESMTPS id 4C78AB228E2 for ; Sun, 11 Feb 2024 07:57:24 +0000 (UTC) Received: from localhost.localdomain (localhost.localdomain [127.0.0.1]) by smtp.subspace.kernel.org (Postfix) with ESMTP id 98BFC45C07; Sun, 11 Feb 2024 07:56:59 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; dkim=pass (1024-bit key) header.d=subdimension.ro header.i=@subdimension.ro header.b="ZLcX3PHD" Received: from mail.subdimension.ro (skycaves.subdimension.ro [172.104.132.142]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id 55F0D45016; Sun, 11 Feb 2024 07:56:57 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=172.104.132.142 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707638218; cv=none; b=cOrQIHzH9GQfK2jRPFaKNg2DW/3kSdt0jKzrBcWghISj8yoM/+C/aYxJVuXHtCejLyHZ15jFMoyR05NOw60h4M+O649d2cbWF7rdkDqq6kwIM29OZepKKgwhrgOm9fPBTIu8W8NRXS+1XDHDH3aXMx9V/FAZ86WaDoBmSxDk4Wk= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1707638218; c=relaxed/simple; bh=KPGBnj0ZTjzETULRrhkS68q97OwTkGoJ0Kz/Oy+38+E=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=foVdIkG+EOxfj+7+uC0YbB1NnnulK97tIhYLeY7Ef9hOSX6rS/hvOaECghBCiYbjydlIsi40e4IusfrrAln8c1WelZF4+Hg4+8a8vpkvoE9ujbBLw2G7iO71P5FpqF2sLnueElr39nK70/Ijx+q4bLtXRJ/RMCi1jWEFrVXhSsE= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=subdimension.ro; spf=pass smtp.mailfrom=subdimension.ro; dkim=pass (1024-bit key) header.d=subdimension.ro header.i=@subdimension.ro header.b=ZLcX3PHD; arc=none smtp.client-ip=172.104.132.142 Authentication-Results: smtp.subspace.kernel.org; dmarc=none (p=none dis=none) header.from=subdimension.ro Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=subdimension.ro Received: from localhost.localdomain (unknown [188.24.101.32]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mail.subdimension.ro (Postfix) with ESMTPSA id 6886F33BBBB; Sun, 11 Feb 2024 07:56:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=subdimension.ro; s=skycaves; t=1707638209; bh=KPGBnj0ZTjzETULRrhkS68q97OwTkGoJ0Kz/Oy+38+E=; h=From:To:Cc:Subject:Date:In-Reply-To:References; b=ZLcX3PHDP2ihgdgBQp+gV53OxjvjcJNKraYw8PjjLjK3riO4MGcENlyOxABjamQBg dwsZcBUx4BqlB6bNZ638yKNlOs0lcQ4dWS0xj5TDzVWMdtzLioCjO30m4NbBoLc9NE 6NCZ1kub/wuOQPlcC4uelvTZ+F2lvU5VHOIDiMz0= From: Petre Rodan To: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org Cc: Petre Rodan , Jonathan Cameron , Lars-Peter Clausen Subject: [PATCH v3 3/6] iio: pressure: hsc030pa: include cleanup Date: Sun, 11 Feb 2024 09:56:34 +0200 Message-ID: <20240211075645.28777-4-petre.rodan@subdimension.ro> X-Mailer: git-send-email 2.43.0 In-Reply-To: <20240211075645.28777-1-petre.rodan@subdimension.ro> References: <20240211075645.28777-1-petre.rodan@subdimension.ro> Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Add includes based on prior reviews from Andy. Signed-off-by: Petre Rodan --- v1 -> v2 no changes v2 -> v3 split cleanup patch into 3 parts, no code changes drivers/iio/pressure/hsc030pa.h | 2 ++ drivers/iio/pressure/hsc030pa_i2c.c | 2 ++ drivers/iio/pressure/hsc030pa_spi.c | 2 ++ 3 files changed, 6 insertions(+) diff --git a/drivers/iio/pressure/hsc030pa.h b/drivers/iio/pressure/hsc030pa.h index d20420dba4f6..f1079a70799f 100644 --- a/drivers/iio/pressure/hsc030pa.h +++ b/drivers/iio/pressure/hsc030pa.h @@ -10,6 +10,8 @@ #include +#include + #define HSC_REG_MEASUREMENT_RD_SIZE 4 struct device; diff --git a/drivers/iio/pressure/hsc030pa_i2c.c b/drivers/iio/pressure/hsc030pa_i2c.c index e2b524b36417..b0c47f863afb 100644 --- a/drivers/iio/pressure/hsc030pa_i2c.c +++ b/drivers/iio/pressure/hsc030pa_i2c.c @@ -8,10 +8,12 @@ * Datasheet: https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/board-mount-pressure-sensors/common/documents/sps-siot-i2c-comms-digital-output-pressure-sensors-tn-008201-3-en-ciid-45841.pdf [i2c related] */ +#include #include #include #include #include +#include #include diff --git a/drivers/iio/pressure/hsc030pa_spi.c b/drivers/iio/pressure/hsc030pa_spi.c index a719bade8326..f6da49cdb5e5 100644 --- a/drivers/iio/pressure/hsc030pa_spi.c +++ b/drivers/iio/pressure/hsc030pa_spi.c @@ -7,10 +7,12 @@ * Datasheet: https://prod-edam.honeywell.com/content/dam/honeywell-edam/sps/siot/en-us/products/sensors/pressure-sensors/board-mount-pressure-sensors/trustability-hsc-series/documents/sps-siot-trustability-hsc-series-high-accuracy-board-mount-pressure-sensors-50099148-a-en-ciid-151133.pdf */ +#include #include #include #include #include +#include #include -- 2.43.0