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 F34782E8B9F for ; Mon, 19 Jan 2026 21:22:15 +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=1768857736; cv=none; b=jMn+BWxrYMdPK/La9Vu8GHtADABMJpL6g26TWtsfa3Rjp39aM/evPDc3aq5QL7cLxJf4/jz670K9xDiKpSRZl1iTX+fyv99kO8iFrYay3MeTecHxCctWnA63TmS0K9ycQvYQKyPn1Wb5VXN507RWdTPaPY+roc8XsZidEwo3U6A= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1768857736; c=relaxed/simple; bh=FQP3fQCOeGJI6rRlF8TZyHFJ8pX5So03MY79KVm4yDI=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=eu+weYd5T4J6I4j9ExeYm29/oSEb2uQVIiPBUK0t+tOUSLHLk0pNBfXFh09ZmvwYyvyfbRsJcVkChiZRNnqxpwRtPLD5MmrGuWujbLOxI8/vJ4FLka1QUwc+qeYuqpVUD38z/nnsOFUS+AC0u3PnFvgTRHGZPsaPWBONJs7j/Ig= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=Z6fbeEZs; 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="Z6fbeEZs" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 96BA5C116C6; Mon, 19 Jan 2026 21:22:11 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1768857735; bh=FQP3fQCOeGJI6rRlF8TZyHFJ8pX5So03MY79KVm4yDI=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=Z6fbeEZsg9ZBJHoGVGjz8nU9Adf/HGqWkYODYYlAUJ03OtCpyAWHDKoLqVXGlz59B UvG61OzYYDDDzS6EX0mUQZN+lsimat/RXMaGFHA5I3ujBbvdSpEIgk8s9FRSjszIV4 Mcqp00Daq8ebOGBy8VEkPfJM2U86naLrrfRERsaT4rbMkrcIz+5LfD1nA5eF+opJo/ jrZcUmz/u7Lfgwc8CXXT/f/6q5KuAxz1UboI4uxGa9guckJBnSBgGnH4nF0OvkbAsP dMvNTyehMecUs7UaJt1+h3y9LOWt8hAgYB6ZlDAJ39K2gJE7s2/oItaz238qnEA4ll 4MrhkuGPYeWmA== 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 11/11] iio: adc: ad7192: Improve include relevance Date: Mon, 19 Jan 2026 21:21:10 +0000 Message-ID: <20260119212110.726941-12-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 Drop unused: #include // lines 29-29 #include // lines 30-30 #include // lines 31-31 #include // lines 32-32 #include // lines 20-20 #include // lines 15-15 Replace kernel.h with more specific headers and add missing headers. Justification from iwyu for added headers: #include // for ARRAY_SIZE #include // for for_each_set_bit #include // for BIT, GENMASK #include // for inline #include // for container_of #include // for kstrtobool #include // for U32_MAX #include // for DIV_ROUND_CLOSEST, DIV_ROU... #include // for do_div #include // for in_range #include // for class_mutex_constructor #include // for true, NULL, false #include // for bool, u32, u8, ssize_t Signed-off-by: Jonathan Cameron Cc: Alisa-Dariana Roman --- drivers/iio/adc/ad7192.c | 20 +++++++++++++------- 1 file changed, 13 insertions(+), 7 deletions(-) diff --git a/drivers/iio/adc/ad7192.c b/drivers/iio/adc/ad7192.c index 6b48581d7606..24e1fa796829 100644 --- a/drivers/iio/adc/ad7192.c +++ b/drivers/iio/adc/ad7192.c @@ -5,31 +5,37 @@ * Copyright 2011-2015 Analog Devices Inc. */ +#include #include +#include +#include #include #include #include +#include +#include #include #include #include #include -#include +#include +#include +#include +#include +#include #include #include +#include #include #include -#include -#include #include #include +#include +#include #include #include #include -#include -#include -#include -#include #include /* Registers */ -- 2.52.0