From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from mail-wm1-f44.google.com (mail-wm1-f44.google.com [209.85.128.44]) (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 53F4E3A6F09 for ; Mon, 31 Aug 2026 21:13:49 +0000 (UTC) Authentication-Results: smtp.subspace.kernel.org; arc=none smtp.client-ip=209.85.128.44 ARC-Seal:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788210831; cv=none; b=qSzS4dZ7AdGXjciGUZKrRd12NPwt4Z3TytN0+cmWuBEBvrTx3SX2mTeW8JOjVcHcTVYjjnKCglUrNX1V3DSo22FQH+8GWvxDGHCBrJI1uHY5JG/CoR36bTpZinvl1YmgxopXg2tAynJ7+dt05qvbeSqBJha5YBL7qcG4ZeRVw9o= ARC-Message-Signature:i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1788210831; c=relaxed/simple; bh=lZ538xn0MusE4k1KK9y0lCXK70e6dTvhVB099UUkj2Q=; h=From:Date:Subject:MIME-Version:Content-Type:Message-Id:References: In-Reply-To:To:Cc; b=PnYrU6vmlA8ekrmcF52+JYYM74fL/oalO5pbnC2nLLDY0QC/AdKDfS+iVGBEO1Kovc+9/zxq4flrbR0oWNct4qnJwtnwx5MmjYuOAQxXR6l2VYaLqzjCxYGkS/KlK53Dsu8g+YL0NkBfJnWuuSIIPCvqBIi7O5CYrQPg9vbBmwk= 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=XTAhUKCC; arc=none smtp.client-ip=209.85.128.44 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="XTAhUKCC" Received: by mail-wm1-f44.google.com with SMTP id 5b1f17b1804b1-49b8eeb3ff2so29603355e9.2 for ; Mon, 31 Aug 2026 14:13:49 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20251104; t=1788210827; x=1788815627; 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=6IX/mr1AWyIWzkY9+da9P64x4UyMMvD+KxSqNh+tYjc=; b=XTAhUKCC/EYWkfD8MqN5GlowiUynxb2uJFcX5tuAt/LjAyId+zRs2z4Az1mefse5No sPCUYFzQgbFLjz7E6Vai/6KD2YQNFuYfJxoapOuvKLnan7AoFXsoxvWk82AVT4HFxQeG FugTFRkCpU8IEUsvWu2+s8POgy/8XBaMz2/uwiJqWtua3RWJh8d8Qfr3Wd4JaWVNEYTy Cf0fcXuZEqo/t+nNZibajL7K5ZtEgU7whakaZo0kVzWbDXKDI07ZYUMiX5DEgHb6OWV5 IbCiALQdMq6y24v/cihak/wKTldy4iFOwLgIh6uqWpA1CogNhzeS3JMueuGj/P+BFGfV 4r5g== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20251104; t=1788210827; x=1788815627; 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=6IX/mr1AWyIWzkY9+da9P64x4UyMMvD+KxSqNh+tYjc=; b=X5qHbHgM0la1XeUeSodvmbfOzUr1RqGrFwujzMVdFMsN0PSl7LvmnI/lmDEUGVf9nK 66laP/OC4lTEjh0oSeL1lHkZYhL+RxuwZ5S/HBthJjx69mEb5i8sOqw/8sD3qr9WU3ZR AAejQV4LO3xycn9wuBFe7aFijSfkADW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cdc41f98fmr43629265e9.8.1788210827444; Mon, 31 Aug 2026 14:13:47 -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.42 (version=TLS1_3 cipher=TLS_AES_256_GCM_SHA384 bits=256/256); Mon, 31 Aug 2026 14:13:47 -0700 (PDT) From: Joshua Crofts Date: Mon, 31 Aug 2026 23:13:35 +0200 Subject: [PATCH v2 05/11] iio: temperature: mlx90635: make headers conform to IWYU Precedence: bulk X-Mailing-List: linux-iio@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-5-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=1788210819; l=1772; i=joshua.crofts1@gmail.com; s=20260530; h=from:subject:message-id; bh=lZ538xn0MusE4k1KK9y0lCXK70e6dTvhVB099UUkj2Q=; b=cL16eD7hISahdpDpT/3iplXwrj/oBC+wB6qNOq2/ysGw4eR3kkXUloag00nNErl7wU43w+Wc7 dAd+BljEq5KDz/3FojdQLOHnWz+S332CK/PWLltq4IpMS2wOwl0On8C 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. Additionally, sort the headers alphabetically. Signed-off-by: Joshua Crofts --- Header changes explained: Added: - : for ARRAY_SIZE() - : for GENMASK() and BIT() macros - : for dev_err(), dev_info(), etc. - : for struct mutex and mutex_lock/unlock - : for fixed-width integer types (u8, u16, etc.) Removed: - : not directly used in this driver - : catch-all header no longer needed - : not directly used in this driver --- drivers/iio/temperature/mlx90635.c | 11 +++++++---- 1 file changed, 7 insertions(+), 4 deletions(-) diff --git a/drivers/iio/temperature/mlx90635.c b/drivers/iio/temperature/mlx90635.c index 0f31879a4f64..48c760c980f3 100644 --- a/drivers/iio/temperature/mlx90635.c +++ b/drivers/iio/temperature/mlx90635.c @@ -6,21 +6,24 @@ * * Driver for the Melexis MLX90635 I2C 16-bit IR thermopile sensor */ + +#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