From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f50.google.com (mail-wm1-f50.google.com [209.85.128.50]) (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 62A093F1AD9 for ; Sat, 29 Aug 2026 16:26:09 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.50 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788020771; cv=none; b=nBbpLVnQPa7V+WYQE+aqoO2GSq/XPgXTnaP+UJAygJ/tvkYx824lczi79HIwcVdKlT4Oxisu3bCNRuhVMuPP35wgNR+1vivNl4XwxpaGysRIfGDr+mnGDa3XujFy7zEBhVdmKqa15jyBwefD+dkWNPqWI5HeGZRHM2WfGsm4ZQg= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788020771; c=relaxed/simple; bh=0QBxwUZ25oFa+ziWVO9rndjF13onxc8x1wc1KVIQ1Cw=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=VMm/kFjtFlY+ODIrkt5TEGkeTVWKD9mNYJ/FcJ8jkkwlm3zlFXOL44lKu1G9W+FJiQ0EZDHk5TfUoJaoPuaka6Bx710DO3Uv3JDOKbphcjpcn9gCOb5L/vthLzlXSx+xAsiv4E+SMhYRX8izM1cKSXJPdhhz/XPgISOooy1V5N0= 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=VhDRd90G; arc=none smtp.client-ip=209.85.128.50 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="VhDRd90G" Received: by mail-wm1-f50.google.com with SMTP id 5b1f17b1804b1-495590dde14so18923135e9.0 for ; Sat, 29 Aug 2026 09:26:09 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788020767; x=1788625567; 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=hnrF/T+i862hV1ESmyIIgs0g7CPggo8JZI/qntxYxUE=; b=VhDRd90G2/vbg9+fJARfuIYblT0rfByVu/x9G6A7N1SY3pPY+tcdAOs+S8/kmfPdLW bqzYg9EDnU4giQpvBB2wZRMpSLxE0XGdYvP2SOeQz3NGT0FLx2XaAPyinyH47hZizsZr 4jyOodC9zhXo+LqN3stwn+rRIgQjZk4JwKjVvsu87HG/qt4it++xYdkDPeLcicL65fhw o0ctfglC8tp8ftoyV4kOOPyHHsFTRhScB8GbgxD1MtijNQSUYCJKF4msSPuxdz3vBtcG 8q7rqQ6Bb+0SbujA687C3Liaq59aUnQk8aFNta1pHEc/rx6FssqOHPTZVX+axbbkBQqU Fuew== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788020767; x=1788625567; 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=hnrF/T+i862hV1ESmyIIgs0g7CPggo8JZI/qntxYxUE=; b=WQvOIpti0U1SKLAXTXg068niNal0G1+Vw2VQaWxPEE2zzMsoZBl1DDWORbhjak0F/g /53W2zLZdkxSGNmu/ImNDNmHTLZx/mwihwBOatVzoe9efK//KLYn4BHa6XaSPQGclbNL WyJfAdyVAV1CN3J3dr5kJCQPqv5lKveBrNDIeJhnkS/Vv1zNDK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lRBfY6UW Tge0okQg2w0e1U1h90SeHNr2q X-Received: by 2002:a05:600c:4513:b0:49a:252d:52f5 with SMTP id 5b1f17b1804b1-49b91c487a6mr240137365e9.11.1788020767446; Sat, 29 Aug 2026 09:26:07 -0700 (PDT) Received: from [192.168.1.187] ([2a02:8308:4092:11f0::f9f]) by smtp.gmail.com with ESMTPSA id 5b1f17b1804b1-49b92679be5sm137861705e9.3.2026.08.29.09.26.06 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Sat, 29 Aug 2026 09:26:07 -0700 (PDT) From: Joshua Crofts Date: Sat, 29 Aug 2026 18:26:00 +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: <20260829-kernel-header-removal-v2-3-c67739d5dedf@gmail.com> References: <20260829-kernel-header-removal-v2-0-c67739d5dedf@gmail.com> In-Reply-To: <20260829-kernel-header-removal-v2-0-c67739d5dedf@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=1788020764; l=1785; i=joshua.crofts1@gmail.com; s=20260530; h=from:subject:message-id; bh=0QBxwUZ25oFa+ziWVO9rndjF13onxc8x1wc1KVIQ1Cw=; b=ncvJnG6Y1t/aSNYJjNSd9QhUFlUdQtKE8GuZl2/LUQtRJQEwiIoVZwpKGhxt2MvEoS7md5z7A GkaP02A1UJ5DqgrQrjaJRBojxM8UtKdoo96j/LiOob1EYnO96mGZkaX 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. Signed-off-by: Joshua Crofts --- Header changes explained: Added: - : for ARRAY_SIZE() - : for bitwise operations - : for container_of macro - : for dev_err(), dev_info(), etc. - : for div64 functions - : for struct mutex and mutex_lock/unlock - : 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 | 11 +++++++++-- 1 file changed, 9 insertions(+), 2 deletions(-) diff --git a/drivers/iio/temperature/ltc2983.c b/drivers/iio/temperature/ltc2983.c index fe9eec3058d4..b8deb9aa9d48 100644 --- a/drivers/iio/temperature/ltc2983.c +++ b/drivers/iio/temperature/ltc2983.c @@ -5,19 +5,26 @@ * * 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 -- 2.55.0