From patchwork Sun Feb 18 17:33:16 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 13561931 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 B86A71E898 for ; Sun, 18 Feb 2024 17:33:37 +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=1708277617; cv=none; b=pn0c6PwUDyUvA6Ohe7tuvIe3Rm3jugnPAae0TRfCJ8Pm+cx5g24rbOtNOMrWsUzB5xuy/Uu2shwj1TEz22xR20XNGDtpv7pXx7/DSNFJbJi7DLCrk9bQ75C3LcSWLHtdcRpi+vYAypUj7yBGmwW51mQFZBKW5bgOJWc9lfN47xo= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708277617; c=relaxed/simple; bh=sMLAsyXWukJqyRW1lBuaK9+AwiOtY5vQok5paPmykwc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=unEfeXRhr69iZ/IRsHKvxEsLGzgK7fFfn7UvHMyuPWWwdMHbo6eQ9PvGaW+wHfOCloV1cwfJQOvwp1cu7JCnUB9qJEjEXE32iYi6VvxjMjiQsjRCcwkdTEWet0/qH2ANieh0M1cuOiFw9NshQphJ05QNir7xEJ9of8ro4iedGKY= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=vN1eOvQz; 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="vN1eOvQz" Received: by smtp.kernel.org (Postfix) with ESMTPSA id AB5BEC433C7; Sun, 18 Feb 2024 17:33:36 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708277617; bh=sMLAsyXWukJqyRW1lBuaK9+AwiOtY5vQok5paPmykwc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=vN1eOvQzoW08uPeSOp5cHR0MwRhU6F+qqrPMQZekxIL7+UeuKSAjsf9fMA8DYXXIi LRzs9U418TMPusIAJiv7uO1lYVCPhvbhCRvvqC5tvwrF5gHzgOrwm9HLOMhWB/81b/ 7GTBJB01mAfPyYADYWTlyZ48NbEqgqDV7eGUHQ/Dt3ImrfDwHVIz2VQxBKsPeiHIRP qvptUomRKiiablu4B8qmhTjiOUbYpuOi5Krm7b5Mv3kjjO2FmuGGaXtH0G4LPgJ/Mu IxAkD1My6ULbbw/PvlWE7bCqNi21jE2tvMgWy0XfheDDvM0QbJauL27FCVIShv9SFH kFwBTzpwb5Jww== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Andy Shevchenko Cc: Jonathan Cameron Subject: [PATCH 1/8] iio: light: vl6180: Drop unused linux/of.h include Date: Sun, 18 Feb 2024 17:33:16 +0000 Message-ID: <20240218173323.1023703-2-jic23@kernel.org> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240218173323.1023703-1-jic23@kernel.org> References: <20240218173323.1023703-1-jic23@kernel.org> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Jonathan Cameron Nothing from linux/of.h is used in this driver. Signed-off-by: Jonathan Cameron --- drivers/iio/light/vl6180.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/iio/light/vl6180.c b/drivers/iio/light/vl6180.c index d4948dfc31ff..dcadf6428a87 100644 --- a/drivers/iio/light/vl6180.c +++ b/drivers/iio/light/vl6180.c @@ -20,7 +20,6 @@ #include #include #include -#include #include #include From patchwork Sun Feb 18 17:33:17 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 13561932 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 4B2D76EB7A for ; Sun, 18 Feb 2024 17:33:38 +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=1708277619; cv=none; b=fxjS/R1R+YXmLPq9V5c9g6uQvu4xHi1vNUG0dZCYRGST6UeCTe4NrXRGJuXaG+dyfZL8eTEh3nk/mgBYBUeSkYlCKqONLkUg/urWq5M4rIn7rMcFLosTo6FNUpmmB5T8mOyEBMxTj75MfL0nTNkziU8zyF6RCNVndJMEd38mMJI= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708277619; c=relaxed/simple; bh=S/LRjstRYR3EG0oDLg6p5M21IBCoa1V1Mt6tcFjbNsA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=X4KnLJ0AfVKfrGLPfBrQ0fjtEhnYws2Zz0DM/mietyBC0FjWcepEyT+6yKeiQ91p4CTcHZiHcSYNB8ITIAVvxMJvcdTKNvbteawANkzkWIUhGFn3iomN9M8OW+JQRtS7MDmhdmEakwapkckv/6Vxzy4a2JmJSREHblF+oLLR1D0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=gJWVd1jy; 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="gJWVd1jy" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 055FCC433F1; Sun, 18 Feb 2024 17:33:37 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708277618; bh=S/LRjstRYR3EG0oDLg6p5M21IBCoa1V1Mt6tcFjbNsA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=gJWVd1jyBkPb5rZfAhNO3g9sPsVx0xDm2QIOqYAMrJWfgO81si8++nwY+PPskW8uJ /ywz1FDpRj5gxltjRkZgmbvZi8ljxfrW9KuBunx5PxZeiR8Ea6QrfJlh7hBECbQL7v XQV/3nKZMmXQMKPRIDXNx7hUxInlWVy5bLTnlNZXqrN2YNkze1Isj6yoYHkI63qX/0 VeK12BKNux8+mOq3O4Hj3Z5/VcbuMSgCycgBHPOZML7AhyhaGc34dTTzaon6yqsISv lauwVUU6fuvESjduu8OMU604DKFiMM45uqcyi+DWKQyGJR/Pj6ODJ2WO0WBt+jm+C3 Cq58IUKhCHUug== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Andy Shevchenko Cc: Jonathan Cameron Subject: [PATCH 2/8] iio: light: al3320a: Drop unused linux/of.h include Date: Sun, 18 Feb 2024 17:33:17 +0000 Message-ID: <20240218173323.1023703-3-jic23@kernel.org> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240218173323.1023703-1-jic23@kernel.org> References: <20240218173323.1023703-1-jic23@kernel.org> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Jonathan Cameron Nothing from linux/of.h used in this driver. Signed-off-by: Jonathan Cameron --- drivers/iio/light/al3320a.c | 1 - 1 file changed, 1 deletion(-) diff --git a/drivers/iio/light/al3320a.c b/drivers/iio/light/al3320a.c index d5957d85c278..105f379b9b41 100644 --- a/drivers/iio/light/al3320a.c +++ b/drivers/iio/light/al3320a.c @@ -15,7 +15,6 @@ #include #include #include -#include #include #include From patchwork Sun Feb 18 17:33:18 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 13561933 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 955AA6EB7A for ; Sun, 18 Feb 2024 17:33:40 +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=1708277620; cv=none; b=fphqwQsJGNh3Vk0NwJz99SY/joBiMQWfa6LNgcwfZKQP8cb9HxtRQl4KuuP4SErqfzPbdCDDIKV2z6ct2YlU1FNTcs7H+YD3WvJSYkZ56q/+l8gUBbMHuIkhxB2JpIqkoN4cSV0SGYyoRaZWCDBaMk8nffVp03NOSa8lI8dEf2U= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708277620; c=relaxed/simple; bh=P1TUIxPZQ5lpOqBJUJm3jTlOHakrJ/xM+utJEl+0ghY=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=p+F4XleWL70XMvHnDCmTW9p3R+LpukXZjIjHjhSiTP0Rrs5tO3zN594WjbNQhoL0RkBRxWwgWqogg2zNAMCXajit9rnzs4Jtfhvhc0vCnmLgJBPWyFZz0/W7Rk3ZOIJ4etgROVvufBxy8td1+xjT73PYmnbwsZG9F7cKnmvIOaA= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=nvv8Q1u2; 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="nvv8Q1u2" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 3B6FFC43390; Sun, 18 Feb 2024 17:33:39 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708277620; bh=P1TUIxPZQ5lpOqBJUJm3jTlOHakrJ/xM+utJEl+0ghY=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=nvv8Q1u2Xs9/knOftSM+bUblYgy17z8VBdj1O5bEym3FIMG8ZKc630f/RSCZRfMcV 6twiPKZbxav6Sw/lR++9RLlSarpKw+FbRm7VupGDqgWkVVIcpNbwVlz4+xjTFlRysN H4TNox0hxLmESQ5ZKjTMl4jbVF4ssaKIDLInIzHoQaHedyDEuwUmh/zyRX9vzCie6J dAYReXZHboXrCP4gUS6S0ryRh4tXPmxK0jhPspdANQPaefHTW3odBKSfdgT5h8X7vl js6Jl23bVOdGLGJxm2QF8s+rCpqlUc++XQ6jyq+EGTaoGcevoSBotYb64Wg03AGIH0 /SzdRwQ35NrCg== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Andy Shevchenko Cc: Jonathan Cameron Subject: [PATCH 3/8] iio: light: al3010: Switch from linux/of.h to linux/mod_devicetable.h Date: Sun, 18 Feb 2024 17:33:18 +0000 Message-ID: <20240218173323.1023703-4-jic23@kernel.org> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240218173323.1023703-1-jic23@kernel.org> References: <20240218173323.1023703-1-jic23@kernel.org> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Jonathan Cameron The only of specific definition used is of_device_id table and that is found in mod_devicetable.h not of.h Signed-off-by: Jonathan Cameron --- drivers/iio/light/al3010.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/light/al3010.c b/drivers/iio/light/al3010.c index 8f0119f392b7..53569587ccb7 100644 --- a/drivers/iio/light/al3010.c +++ b/drivers/iio/light/al3010.c @@ -17,7 +17,7 @@ #include #include #include -#include +#include #include #include From patchwork Sun Feb 18 17:33:19 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 13561934 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 B60381E898 for ; Sun, 18 Feb 2024 17:33:41 +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=1708277621; cv=none; b=EgBOu7drlqrhbX8lFOo8u5W1pmqPQS2EZDBPb+XRgd1R6BC6O7h6wT2L0ow8eRB38k9VqLtZNvc8qG9LL3pTOgG2A7Gv4LIK8eq7MiEPcDXETpRutrjTsbZ5AG6aZbVe6V6Ai2ljKDEZoxyYfR2h/M+okQbGJA921A9ynB/DYog= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708277621; c=relaxed/simple; bh=ewNobQG+B+aKF3dx2iFKgyrjWgZF9HmTA/nGruhzuz4=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=nSILDNSJ2kOZGskbfyxUmr0kcub6Egv1/gV35malMH0OzxEUwFef5B8ada7jZEDJld0eMswqTSPRuRcQV5GdpV4B7iEYrzqT4pV6MS4Xqysqk15di9TydsvizjykK4xV3lzINY4+qhKgQ/0TXqiPOebxTWmjWdcmDXFcHyBuz6A= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=psb7LKAC; 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="psb7LKAC" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 7B686C433C7; Sun, 18 Feb 2024 17:33:40 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708277621; bh=ewNobQG+B+aKF3dx2iFKgyrjWgZF9HmTA/nGruhzuz4=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=psb7LKACHfvJYkdHxSlS6YDd1Cc8D8p7mJCV/A3YUeqy1IWQBdFN48Wfd/O6e4VLt Yjy1HZASCdOH5IeMInrXJSiGLZvqXJ/YdqCIPb2h2RiRWGftUDbvIYPzUInJoikeuK FQWlo1aOl30s1CYtabtnL55K1G64TzZfjV5eIoQtYZ8OOOylF75Eba9MgTnHOgmjoU hAQYC9Tve06cNd4qA1mjfwc5TgDpoIDQbz1DqSZRc8ta2IdzOVDCF+1X109TfkOSA6 3JX73kuPzqBGLBn6fN/8vs+cRhpyntZOg7C3hJWqrFlgGDbtItM2/VjMdF3L6S6hJR inUyQOt1t4f8g== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Andy Shevchenko Cc: Jonathan Cameron Subject: [PATCH 4/8] iio: adc: ads8688: Switch to mod_devicetable.h for struct of_device_id definition Date: Sun, 18 Feb 2024 17:33:19 +0000 Message-ID: <20240218173323.1023703-5-jic23@kernel.org> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240218173323.1023703-1-jic23@kernel.org> References: <20240218173323.1023703-1-jic23@kernel.org> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Jonathan Cameron of.h was only included to get access to this structure, so include the correct header directly instead. Signed-off-by: Jonathan Cameron --- drivers/iio/adc/ti-ads8688.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/adc/ti-ads8688.c b/drivers/iio/adc/ti-ads8688.c index ef06a897421a..9440a268a78c 100644 --- a/drivers/iio/adc/ti-ads8688.c +++ b/drivers/iio/adc/ti-ads8688.c @@ -11,7 +11,7 @@ #include #include #include -#include +#include #include #include From patchwork Sun Feb 18 17:33:20 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 13561935 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 379EF1E898 for ; Sun, 18 Feb 2024 17:33:42 +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=1708277623; cv=none; b=jUVsH0Lfilz+dVK9tUmwkTdTIkHjexL7Xuaq3W98uwfbrooTGat9wFRrnyupMbe6tO3cJDwVkTw/J2kcG656ngOVgPJaqqgCfSJWOx/Jv1CdAmrQrk3UXpjjqOdnCAG+uLcmIEiuww+iSAJy1GheXr8ldzjL2diWuKYf05C5EnY= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708277623; c=relaxed/simple; bh=2EeMz1RG7098w2PrP8N7GaoxBeqqfms4se11h+YFMxA=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=pFMSPo5HrDLmUMrvhWb0XiqxcfE1s9nv7l55NR6l6FTs0w6emS08WG8NjbwAGyow0hDJU2SyM11xGqQGQhcDzEuPJ/Pc4x8Q2/jSXMOTrTQr4xo6XCNkqWB6MJC5nB2YdWKhGRaDbuMHd5330GWtRZQ3MU+cFle7V/jgUNhFVv0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=OZ0EORyO; 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="OZ0EORyO" Received: by smtp.kernel.org (Postfix) with ESMTPSA id B6BC9C433F1; Sun, 18 Feb 2024 17:33:41 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708277622; bh=2EeMz1RG7098w2PrP8N7GaoxBeqqfms4se11h+YFMxA=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=OZ0EORyO2KQP+mNnTHniN8ubp8dcUr+KuZOW+TXobJMaTgn2ygpiOpVtKH5jaeTvV eZ9QmKCnJcWNZVSKojf5kMNEcPmx2wsIQeMYZxdbYBUBQpkH162q91eda2WuHCjpg3 BgvgPNZEDqffgHBywr0boV1+QWsg4ma3TZ3fzJLnCAVrPL1ynMFlT1fVk7SVqNrf+w ZIWZ6m1l5vrPSc6KZTvpTRiazqN5khDHKQ3eqNleUZ2mcP1B1bCvK6W7wuk9DTCtnp kBk04jQUW6cGtYpF3JkXElV7Drzx8uvhvU6b1CzTXLwR1RNZCtLB1gGrJdLyeDezXV qORqIC8FD2rNw== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Andy Shevchenko Cc: Jonathan Cameron Subject: [PATCH 5/8] iio: accel: adxl372: Switch from linux/of.h to linux/mod_devicetable.h Date: Sun, 18 Feb 2024 17:33:20 +0000 Message-ID: <20240218173323.1023703-6-jic23@kernel.org> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240218173323.1023703-1-jic23@kernel.org> References: <20240218173323.1023703-1-jic23@kernel.org> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Jonathan Cameron The only of specific definition used is of_device_id table and that is found in mod_devicetable.h not of.h Signed-off-by: Jonathan Cameron --- drivers/iio/accel/adxl372_spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/accel/adxl372_spi.c b/drivers/iio/accel/adxl372_spi.c index 75a88f16c6c9..787699773f96 100644 --- a/drivers/iio/accel/adxl372_spi.c +++ b/drivers/iio/accel/adxl372_spi.c @@ -6,8 +6,8 @@ */ #include +#include #include -#include #include #include "adxl372.h" From patchwork Sun Feb 18 17:33:21 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 13561936 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 A905D1E898 for ; Sun, 18 Feb 2024 17:33:44 +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=1708277624; cv=none; b=JRkxB/R6BjrJMoeBkm3ixkXsEOeN4D0zOY47GO4ABlDb8J185A1dLH+xgQ3Labooe0Ae5Gbcfus2lPDDQOyxDbBONZPe3OQW/RmHkLm8KtBRnXV8sycNIkRlAC4Z5L1q7bqdrRMb1v4qIVMxIMaH+zUQ1RrI/hlnXYtXJBrE2XQ= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708277624; c=relaxed/simple; bh=DQGfkzVDShCIbJSnpPUPNQ0Hfaky+c6j90wy6nZJRxo=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=YmQA7QFDpNOmea6es3DI4ml0OB7EYfv5hBqW+IQY7l7nP5djD2xWVAyaoEpx8nxeQA0UIF2bdNtYN8efrEZPbVL8kk/wfTq1xKD1r7JyGwCjPC1Thbl8C7N4mRc7OD6t18JVejKrPxnM9DYlr2s9Or5WQyXfSvBuHCh4FqDUKhI= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=imQLTuAq; 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="imQLTuAq" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 5E582C433F1; Sun, 18 Feb 2024 17:33:43 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708277624; bh=DQGfkzVDShCIbJSnpPUPNQ0Hfaky+c6j90wy6nZJRxo=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=imQLTuAq7Z+YCKiiW1Bow5I6CygdsDbqTYUdZdxYrbBsagPvNx+GSli84cL6vZ0XL iRhl+spzDC+wUalMpa9Mt3pz632KY2EDXie7B8OEU39+S/cpTuJZnAYKjqk6CEgOk+ /ehXLQixN77mbSyleZeu9KMiVMM5pXw8ZcEGVlKVhGasuAbUX6cBLpjgANU6g3IIBj 2jZfPKGpzt6OsRpLJcTuhXCBG5pMyq1SJKK87wKvUJtWYk3V1wc+c9wEjPhUgN0Y1o k1isanxle84DfeL6QMx0vTfimyPCto0QDOCTKstnGRnVi0GEghh0I6E8748VqgxMyS a/6YV8VsUjLng== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Andy Shevchenko Cc: Jonathan Cameron Subject: [PATCH 6/8] iio: accel: bma180: Switch from linux/of.h to linux/mod_devicetable.h Date: Sun, 18 Feb 2024 17:33:21 +0000 Message-ID: <20240218173323.1023703-7-jic23@kernel.org> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240218173323.1023703-1-jic23@kernel.org> References: <20240218173323.1023703-1-jic23@kernel.org> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Jonathan Cameron The only of specific definition used is of_device_id table and that is found in mod_devicetable.h not of.h Signed-off-by: Jonathan Cameron --- drivers/iio/accel/bma180.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/accel/bma180.c b/drivers/iio/accel/bma180.c index ab4fccb24b6c..6581772cb0c4 100644 --- a/drivers/iio/accel/bma180.c +++ b/drivers/iio/accel/bma180.c @@ -13,10 +13,10 @@ */ #include +#include #include #include #include -#include #include #include #include From patchwork Sun Feb 18 17:33:22 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 13561937 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 ABE7D1E898 for ; Sun, 18 Feb 2024 17:33:45 +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=1708277626; cv=none; b=bTU1adsD3tz7DanjpG6keBrbiOXVKKU9zinqOvH+TA/tbOeZHNnaGyCmVQDbJ7SVOqD0QG+WG+7ovCu2eVejZHuRLp9Tt1Qp+VG2Lr0LS+ng64rz9s/pWxXyuoGDBTbsOi93ocgZl95EK5mQvFaap57HJeCctRBBV5SyiErJX30= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708277626; c=relaxed/simple; bh=dpQ/VsWAzsGMf/vripDP+x17R79FaTpgTYaPEiuo6Po=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=VyCg9yQX0Ma0bNhHC5qFUjCLWep+eUd5Rm/ki9cnVNaYkNr/AG2kTB6yVqRwtKpsFvAmEdzR8Ru4BciYesO6sG3ELN2SzUUZS+j1lduRoUf6n2tl+KgbRTibv71T1L8HFjyC3ljG5v2fC88TGvsOHDHhSuuMbolFQP6s4rLe8bM= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=JPsUMUg0; 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="JPsUMUg0" Received: by smtp.kernel.org (Postfix) with ESMTPSA id A20C9C43390; Sun, 18 Feb 2024 17:33:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708277625; bh=dpQ/VsWAzsGMf/vripDP+x17R79FaTpgTYaPEiuo6Po=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=JPsUMUg0k79yl30VIvsEPg45DtoeQNDvLOCZobjZwFFKMcs0TQOZ0l18C8pmpY2fY BcgEA+Nr8D8xE0sGlMUazvDq3IFRR9aueyKbRdsHOBiaVfcLAQlA2BU3l+izSgNKBl 5vMJyQXIpNBQTmdKYRLFXyaaLk5adrXUEw259OdyapiD2DsHZfnTMXMW62+uZCMM4V IyaspK2sM6/9IUzvneB3/LcqE29h1FPs6BmxzmKxWfkwaSnvYX/rIA0pNCs7EXw/Kt tjr1WJN0vmAqGK708eF8PAC+5zstFhVy+Fllvz9uOEMBi3b7y3mRyYzgPfoQg9qzgE CRzsLFjCO+V9w== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Andy Shevchenko Cc: Jonathan Cameron Subject: [PATCH 7/8] iio: accel: kxsd9: Switch from linux/of.h to linux/mod_devicetable.h Date: Sun, 18 Feb 2024 17:33:22 +0000 Message-ID: <20240218173323.1023703-8-jic23@kernel.org> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240218173323.1023703-1-jic23@kernel.org> References: <20240218173323.1023703-1-jic23@kernel.org> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Jonathan Cameron The only of specific definition used is of_device_id table and that is found in mod_devicetable.h not of.h Signed-off-by: Jonathan Cameron --- drivers/iio/accel/kxsd9-spi.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/accel/kxsd9-spi.c b/drivers/iio/accel/kxsd9-spi.c index 1719a9f1d90a..4414670dfb43 100644 --- a/drivers/iio/accel/kxsd9-spi.c +++ b/drivers/iio/accel/kxsd9-spi.c @@ -1,9 +1,9 @@ // SPDX-License-Identifier: GPL-2.0-only #include #include -#include #include #include +#include #include #include From patchwork Sun Feb 18 17:33:23 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jonathan Cameron X-Patchwork-Id: 13561938 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 C0D881E898 for ; Sun, 18 Feb 2024 17:33:47 +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=1708277627; cv=none; b=rLLKSB8B53yOpR1/BWkcNn0KKeL0iC2xtLOUzRCBz1jwyOwH0tVmO4Cxjt0Bq6xq5KsdqgQwhHfMORLgnb2GMXY7TdVtw9e9GlOkxiSsr8n5L/uEVhNnYXx1ZuM7gBE22dlsISRfdZ990bglri9FY1V5UpwjrAg2cFa7FVa//XU= ARC-Message-Signature: i=1; a=rsa-sha256; d=subspace.kernel.org; s=arc-20240116; t=1708277627; c=relaxed/simple; bh=qfNZXMyCCL37gWI2Ud2pqs11Ci/LJRzKpsK2J45epoc=; h=From:To:Cc:Subject:Date:Message-ID:In-Reply-To:References: MIME-Version; b=cBHHmte1fjBxSeySx+TnYHRmsntEMv42HTTLA6/7wmU4vSwyiY9wd6OnskRAxCas3cgWlaWpwgTljGlxcGlYEDWGsw/spoIK5Qewigvyw++26+yOWb2N723Kqednoe7lT9PjRO/2fyQVXSypWaHGxMt2I7zkMlYt+aXVok0vGF0= ARC-Authentication-Results: i=1; smtp.subspace.kernel.org; dkim=pass (2048-bit key) header.d=kernel.org header.i=@kernel.org header.b=n1uK9ueN; 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="n1uK9ueN" Received: by smtp.kernel.org (Postfix) with ESMTPSA id 49CC3C433C7; Sun, 18 Feb 2024 17:33:46 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=kernel.org; s=k20201202; t=1708277627; bh=qfNZXMyCCL37gWI2Ud2pqs11Ci/LJRzKpsK2J45epoc=; h=From:To:Cc:Subject:Date:In-Reply-To:References:From; b=n1uK9ueN/g3XuyjfzWhd0FYT9essnbvG0yUQBa6tFh3YTO8jf0KMOxSyIdlkoY7O8 /gsUcohKo1EWyYlAIiE1IRyBMyBQ3ujY6CqCKfjsT/THbMwFzHNFetkOBwG8Cb8HC1 Hyl4AIZEpv/FcjfCFuwvN+ErDyrY9OIMFpW6hXcCOcjKFtClDfIc2c7Yphtiv4LMNQ P5jdSHpXwEoqmKUDrgx8bimvBOZdRosV2Js+VHDjUIuk3B0lrOal5zGCwdzRygMv1l qi8/sOb47M64qr5hB+akP3Ip4VnU5zoLswIWDxJxQ0s+NzZPJs+KSJY69L58XcY05P c44O5qFTYCKPQ== From: Jonathan Cameron To: linux-iio@vger.kernel.org, Andy Shevchenko Cc: Jonathan Cameron Subject: [PATCH 8/8] iio: dac: mcp4821: Switch to including mod_devicetable.h for struct of_device_id definition. Date: Sun, 18 Feb 2024 17:33:23 +0000 Message-ID: <20240218173323.1023703-9-jic23@kernel.org> X-Mailer: git-send-email 2.43.2 In-Reply-To: <20240218173323.1023703-1-jic23@kernel.org> References: <20240218173323.1023703-1-jic23@kernel.org> Precedence: bulk X-Mailing-List: linux-iio@vger.kernel.org List-Id: List-Subscribe: List-Unsubscribe: MIME-Version: 1.0 From: Jonathan Cameron of.h was only included for this definition, so include the correct header instead. Signed-off-by: Jonathan Cameron --- drivers/iio/dac/mcp4821.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/drivers/iio/dac/mcp4821.c b/drivers/iio/dac/mcp4821.c index 8a0480d33845..782e8f6b7782 100644 --- a/drivers/iio/dac/mcp4821.c +++ b/drivers/iio/dac/mcp4821.c @@ -17,7 +17,7 @@ */ #include -#include +#include #include #include