From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f51.google.com (mail-wm1-f51.google.com [209.85.128.51]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.subspace.kernel.org (Postfix) with ESMTPS id EA69B39B975 for ; Mon, 31 Aug 2026 21:13:43 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.51 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788210826; cv=none; b=SBxUuEck6Plyra4mNmxRAXEQxEixeBDpdO/ClOLVE5QyuzSbY5g8y6D8yvCuEpTgl3b74DyqUMRU2KchG5K2TkfssiebZMZPWs5LdXcaQAewpY5cbmSJV0hsSYpT4lrm32RFsLzPDencrN36cMqfLqNW7tBrOksm0hXNg6DlM2I= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788210826; c=relaxed/simple; bh=Up7WixMq2UKiZiOquhHtQgYufcWnlB1kNVQP+l4LXLY=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=RTqwaj9I05NUZ19cwFR9Ta9V6cYtBD5R6SkXvcM9TVSl5V8uSWvgoV6Tmloh64zJTqjfJcdjR0u24OahzvSoBSxZnJ65uXXgbuGxhFP7Rz9pxZos868P66AhOzD1raFsoyld5AgarYXlD8BaBNk8Zk29GYjFt2bQBSYcrbBD56o= ARC-Authentication-Results:i=1; smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com; spf=pass smtp.mailfrom=gmail.com; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b=V8NuwLnc; arc=none smtp.client-ip=209.85.128.51 Authentication-Results: smtp.subspace.kernel.org; dmarc=pass (p=none dis=none) header.from=gmail.com Authentication-Results: smtp.subspace.kernel.org; spf=pass smtp.mailfrom=gmail.com Authentication-Results: smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=gmail.com header.i=@gmail.com header.b="V8NuwLnc" Received: by mail-wm1-f51.google.com with SMTP id 5b1f17b1804b1-4956869750eso26620465e9.2 for ; Mon, 31 Aug 2026 14:13:43 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788210822; x=1788815622; darn=vger.kernel.org; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:from:to:cc:subject:date :message-id:reply-to:content-type; bh=+OwGak7jvH9Pv/n5J8RbgPDuhJli2QWAzQdMtVUnCkY=; b=V8NuwLnc0ivf8qV5GC/KQ7pUKsjkISvfZaFF/UPEw8a4DnTmbNb4KRkfDeycaKpYCT iKV0upYSal4N65YZPbgb9Dq9rPwJ8tgHxW/Bz56qKVaz2Wr+ei4p7sFyUbyuXt9ZXlXe 5XstJfIc1Zy96f7TxwGpnnNmvPSCDBTQG7nUVF7VytZTpvxxthR6A1Loxcww2kZ2I7uw k+LRsU0znKgPJrFGu3oS7AtNwv15Tw6LhcikhHkavRC5G5av8t70Z90BGFx4FiQTA/oZ mcfUNOn4/N8qC8yd+G2WqvP4mNFOUUhsxl9n6Jz8plnq1lj407jpZpWWrAI5SiPoL7m/ icEw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788210822; x=1788815622; h=cc:to:in-reply-to:references:message-id:content-transfer-encoding :content-type:mime-version:subject:date:from:x-gm-gg :x-gm-message-state:from:to:cc:subject:date:message-id:reply-to :content-type; bh=+OwGak7jvH9Pv/n5J8RbgPDuhJli2QWAzQdMtVUnCkY=; b=ojRbDO/EDH6yfK79X5rf4F6AvWxaR4IcQ7ml+74FyEFb05lgIDTCZSNiTeBPu7W4No TwXDo9R4bd+QsLVV0SAxi4tejHGkN29chviHQ46fnBsR+BOvR6U49HtL+/uexJkaYDwv ZTKnELL+BAiKGXhqPfTqUutuhXqWrnK/Jlu3gHT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DaYKzJh 8+BJayenDkyXiUReFBHtcWHCg X-Received: by 2002:a05:600c:3e1a:b0:49c:cee2:a508 with SMTP id 5b1f17b1804b1-49ccee2a541mr310505105e9.16.1788210822065; Mon, 31 Aug 2026 14:13:42 -0700 (PDT) Received: from [192.168.1.187] ([2a02:8308:4092:11f0::f9f]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49cdce1754csm17695925e9.10.2026.08.31.14.13.40 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2026 14:13:41 -0700 (PDT) From: Joshua Crofts Date: Mon, 31 Aug 2026 23:13:33 +0200 Subject: [PATCH v2 03/11] iio: temperature: ltc2983: make headers conform to IWYU Precedence: bulk X-Mailing-List: linux-kernel@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: 7bit Message-Id: <20260831-kernel-header-removal-v2-3-b92b580ef5eb@gmail.com> References: <20260831-kernel-header-removal-v2-0-b92b580ef5eb@gmail.com> In-Reply-To: <20260831-kernel-header-removal-v2-0-b92b580ef5eb@gmail.com> To: Jonathan Cameron , David Lechner , =?utf-8?q?Nuno_S=C3=A1?= , Andy Shevchenko , Crt Mori , Puranjay Mohan Cc: linux-iio@vger.kernel.org, linux-kernel@vger.kernel.org, Joshua Crofts X-Mailer: b4 0.14.3 X-Developer-Signature: v=1; a=ed25519-sha256; t=1788210818; l=2053; i=joshua.crofts1@gmail.com; s=20260530; h=from:subject:message-id; bh=Up7WixMq2UKiZiOquhHtQgYufcWnlB1kNVQP+l4LXLY=; b=3mzQA/q+KB6k7DDU+xBz9iO5c/lHkYHNLJ7udoTjsYFY0GoyixbGt/x8GiIZAogwSV9SWFZjb AbU5ZWdKCAuAe2GXGsVANynSyrmifx5wlaVqkJFZdzavL9hLz0k6hRS X-Developer-Key: i=joshua.crofts1@gmail.com; a=ed25519; pk=RTDOoVwgeL4oFdASj9U+cxJuIjXuXk73zkjnGOJKbEo= Remove the catch-all kernel.h header and add the missing headers to enforce IWYU (some standard headers are already include subheaders, i.e. errno.h is included by err.h). Signed-off-by: Joshua Crofts --- Header changes explained: Added: - : for ARRAY_SIZE() - : for bitwise operations - : for container_of macro - : for usleep_range() - : for GPIO functions - : for div64 functions - : for struct mutex and mutex_lock/unlock - : for DEFINE_SIMPLE_DEV_PM_OPS - : for memory allocation - : for fixed-width integer types (u8, u16, etc.) Removed: - : not directly used in this driver - : catch-all header no longer needed --- drivers/iio/temperature/ltc2983.c | 14 ++++++++++++-- 1 file changed, 12 insertions(+), 2 deletions(-) diff --git a/drivers/iio/temperature/ltc2983.c b/drivers/iio/temperature/ltc2983.c index fe9eec3058d4..6655453c9abf 100644 --- a/drivers/iio/temperature/ltc2983.c +++ b/drivers/iio/temperature/ltc2983.c @@ -5,19 +5,29 @@ * * Copyright 2019 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 -- 2.55.0