From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from smtp.kernel.org (aws-us-west-2-korg-mail-1.web.codeaurora.org [10.30.226.201]) (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 1D39E2FC86B for ; Mon, 19 Jan 2026 21:21:29 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=10.30.226.201 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768857690; cv=none; b=m/hxwR7sR9fGX9JfCL9BXJMQSqt8WtPmY8SEZMtrO+iNzkes0PwazkffvKEup7biGZo1PNcdsth0FxxwCZ4S4a/560IBmhX1bXn5KFnRDyS7l1KnITRvkyBo8rNXPxybjsEewcnjIv4p7gSVrdkiTFWUgE80H+2dRhAFtrSXTSY= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768857690; c=relaxed/simple; bh=s3eCk50+DXZDkZTC4g+bYMVmxDkPXKdx9LrTCrown38=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=SEe2i+n6yrDW5fsRDWklh0cWU7Lw4LOrqfp90ziI8IQ+AZ6/Tr7VuotAogLSEKivM7N4C/9u6NsfkSl6FCp2z7y6aC4VvWtm5WVKdaZzvYfVH4jU5ry9LnvxKHGKiNtl525zqqgGzKthZcm4BLWYXrfI7ki9Sx5AIlwEV5R0Tj4= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=BjORDT1L; arc=none smtp.client-ip=10.30.226.201 Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b="BjORDT1L" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B4FD1C19422; Mon, 19 Jan 2026 21:21:25 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768857689; bh=s3eCk50+DXZDkZTC4g+bYMVmxDkPXKdx9LrTCrown38=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=BjORDT1LfYblwOU0N4fT9HoUeB27nsjefCBmY3A+zM9DD0D4wB8u30ADObeI0wkDx 5qqg9tDZxEOhE5aXwaXhongOusmuTWtDZ4JMsCOkIs+02h/Cr7v5GW5wA9716Xc0DE Ce77P0Ls3Rm51ejRz+/v1LV5lTaa2XzAjy+aOuMdtdrtdNASYjVZcwJYuNx61/ktyP NSen+KDDhWF3u2t0YOQiImVoWccLgBiWd7mR4hKefjlfEIhgoiRiNoeOtK4Of/RUJD aPADVa+b6DCVm4KfakOc4IXmuPCMWHt2HL1bo0uqE2KUxPFAOJtjgLujYu+ZqWsmxR x9yOXhz2qtDUQ== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Andy Shevchenko Cc: David Lechner , =?UTF-8?q?Nuno=20S=C3=A1?= , Mike Looijmans , Liam Beguin , Miquel Raynal , Ibrahim Tilki , Cosmin Tanislav , Alisa-Dariana Roman , Jonathan Cameron Subject: [PATCH 01/11] iio: adc: ltc2471: Improve include relevance Date: Mon, 19 Jan 2026 21:21:00 +0000 Message-ID: <20260119212110.726941-2-jic23@kernel.org> X-Mailer: git-send-email 2.52.0 In-Reply-To: <20260119212110.726941-1-jic23@kernel.org> References: <20260119212110.726941-1-jic23@kernel.org> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Transfer-Encoding: 8bit From: Jonathan Cameron Based on output of iwyu drop unused iio/sysfs.h and replace kernel.h with more appropriate includes. Add some other includes that were relying on being indirectly included from other headers. Justification for added includes: #include // for be16_to_cpu #include // for BIT #include // for dev_err #include // for i2c_device_id #include // for __be16 Signed-off-by: Jonathan Cameron Cc: Mike Looijmans --- drivers/iio/adc/ltc2471.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/drivers/iio/adc/ltc2471.c b/drivers/iio/adc/ltc2471.c index a579107fd5c9..d0ba1b3a6ca1 100644 --- a/drivers/iio/adc/ltc2471.c +++ b/drivers/iio/adc/ltc2471.c @@ -7,12 +7,16 @@ * Author: Mike Looijmans */ +#include +#include #include #include -#include #include +#include +#include #include -#include + +#include enum ltc2471_chips { ltc2471, -- 2.52.0