Thread (8 messages) flat view 8 messages, 4 authors, 8d ago
COOLING8d

[PATCH 3/3] regulator: mpq4210: Drop the mod_devicetable.h include

From: Tapio Reijonen <hidden>
Date: 2026-09-13 11:40:45
Also in: lkml
Subsystem: the rest, voltage and current regulator framework · Maintainers: Linus Torvalds, Liam Girdwood, Mark Brown

<linux/mod_devicetable.h> is meant to go away, and this driver does not
need it: <linux/i2c.h> already supplies struct i2c_device_id and
<linux/of.h> struct of_device_id, and both are included already.

Suggested-by: Uwe Kleine-König <redacted>
Link: https://lore.kernel.org/r/aqRMb8q7BT3uZ9iF@monoceros (local)
Signed-off-by: Tapio Reijonen <redacted>
---
 drivers/regulator/mpq4210.c | 1 -
 1 file changed, 1 deletion(-)
diff --git a/drivers/regulator/mpq4210.c b/drivers/regulator/mpq4210.c
index 315f8e02ff2a117e37b32f8a128c9e0feacfac74..293e7b209a987af133230fa2eb7eab826482b101 100644
--- a/drivers/regulator/mpq4210.c
+++ b/drivers/regulator/mpq4210.c
@@ -10,7 +10,6 @@
 #include <linux/gpio/consumer.h>
 #include <linux/i2c.h>
 #include <linux/math.h>
-#include <linux/mod_devicetable.h>
 #include <linux/module.h>
 #include <linux/of.h>
 #include <linux/regmap.h>
-- 
2.47.3
Keyboard shortcuts
hback out one level
jnext message in thread
kprevious message in thread
ldrill in
Escclose help / fold thread tree
?toggle this help