[PATCH] iio: adc: mt6323: remove unused header

Roman Vivchar via B4 Relay posted 1 patch 1 week, 6 days ago
drivers/iio/adc/mt6323-auxadc.c | 1 -
1 file changed, 1 deletion(-)
[PATCH] iio: adc: mt6323: remove unused header
Posted by Roman Vivchar via B4 Relay 1 week, 6 days ago
From: Roman Vivchar <rva333@protonmail.com>

Remove unused mod_devicetable.h header.

Signed-off-by: Roman Vivchar <rva333@protonmail.com>
---
A small cleanup for mt6323 auxadc driver.

This patch is based on top of iio/togreg branch.
---
 drivers/iio/adc/mt6323-auxadc.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/iio/adc/mt6323-auxadc.c b/drivers/iio/adc/mt6323-auxadc.c
index c450fb6f09cb..4f73ac42abb7 100644
--- a/drivers/iio/adc/mt6323-auxadc.c
+++ b/drivers/iio/adc/mt6323-auxadc.c
@@ -11,7 +11,6 @@
 #include <linux/cleanup.h>
 #include <linux/delay.h>
 #include <linux/iio/iio.h>
-#include <linux/mod_devicetable.h>
 #include <linux/module.h>
 #include <linux/mutex.h>
 #include <linux/platform_device.h>

---
base-commit: 2e2f2de7532cbbc2269de8be20ec709606c6e79b
change-id: 20260712-mt6323-adc-rm-header-653e7fe842dc

Best regards,
--  
Roman Vivchar <rva333@protonmail.com>
Re: [PATCH] iio: adc: mt6323: remove unused header
Posted by Uwe Kleine-König 1 week, 6 days ago
On Sun, Jul 12, 2026 at 09:26:36AM +0300, Roman Vivchar via B4 Relay wrote:
> From: Roman Vivchar <rva333@protonmail.com>
> 
> Remove unused mod_devicetable.h header.
> 
> Signed-off-by: Roman Vivchar <rva333@protonmail.com>
> ---
> A small cleanup for mt6323 auxadc driver.
> 
> This patch is based on top of iio/togreg branch.

The only device-id struct used in this driver is of_device_id and this
is ensured to be available by (e.g.) <linux/platform_device.h>. So:

Acked-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>

Thanks for supporting the effort to get rid of that header,
Uwe
Re: [PATCH] iio: adc: mt6323: remove unused header
Posted by Jonathan Cameron 1 week, 5 days ago
On Mon, 13 Jul 2026 00:14:45 +0200
Uwe Kleine-König <u.kleine-koenig@baylibre.com> wrote:

> On Sun, Jul 12, 2026 at 09:26:36AM +0300, Roman Vivchar via B4 Relay wrote:
> > From: Roman Vivchar <rva333@protonmail.com>
> > 
> > Remove unused mod_devicetable.h header.
> > 
> > Signed-off-by: Roman Vivchar <rva333@protonmail.com>
> > ---
> > A small cleanup for mt6323 auxadc driver.
> > 
> > This patch is based on top of iio/togreg branch.  
> 
> The only device-id struct used in this driver is of_device_id and this
> is ensured to be available by (e.g.) <linux/platform_device.h>. So:
> 
> Acked-by: Uwe Kleine-König (The Capable Hub) <u.kleine-koenig@baylibre.com>
> 
> Thanks for supporting the effort to get rid of that header,
> Uwe
Applied to the testing branch of iio.git

Thanks,

Jonathan
Re: [PATCH] iio: adc: mt6323: remove unused header
Posted by Siratul Islam 1 week, 6 days ago
On Sun, 2026-07-12 at 09:26 +0300, Roman Vivchar via B4 Relay wrote:
> From: Roman Vivchar <rva333@protonmail.com>
> 
> Remove unused mod_devicetable.h header.
> 
LGTM.

Reviewed-by: Siratul Islam <siratul.islam@linux.dev>

--
Best regards,
Sirat
Re: [PATCH] iio: adc: mt6323: remove unused header
Posted by Joshua Crofts 1 week, 6 days ago
On Sun, 12 Jul 2026 09:26:36 +0300
Roman Vivchar via B4 Relay <devnull+rva333.protonmail.com@kernel.org> wrote:

> From: Roman Vivchar <rva333@protonmail.com>
> 
> Remove unused mod_devicetable.h header.
> 
> Signed-off-by: Roman Vivchar <rva333@protonmail.com>
> ---

Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com>

-- 
Kind regards

CJD