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

From: Tapio Reijonen

Date: Sun Sep 13 2026 - 07:42:15 EST


<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 <u.kleine-koenig@xxxxxxxxxxxx>
Link: https://lore.kernel.org/r/aqRMb8q7BT3uZ9iF@monoceros
Signed-off-by: Tapio Reijonen <tapio.reijonen@xxxxxxxxxxx>
---
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