]> git.ipfire.org Git - thirdparty/kernel/linux.git/commitdiff
mtd: spi-nor: drop unused <linux/of_platform.h>
authorTudor Ambarus <tudor.ambarus@linaro.org>
Fri, 7 Mar 2025 07:09:07 +0000 (09:09 +0200)
committerTudor Ambarus <tudor.ambarus@linaro.org>
Tue, 18 Mar 2025 05:59:43 +0000 (07:59 +0200)
There's nothing used in the SPI NOR core from <linux/of_platform.h>,
drop the header inclusion.

Reviewed-by: Miquel Raynal <miquel.raynal@bootlin.com>
Link: https://lore.kernel.org/r/20250307-spi-nor-headers-cleanup-v1-3-c186a9511c1e@linaro.org
Signed-off-by: Tudor Ambarus <tudor.ambarus@linaro.org>
drivers/mtd/spi-nor/core.c

index 1091c83294fa33393f27f914efb254da7a7524a2..ac4b960101cc15097f7e87cc8123dd353fa98b75 100644 (file)
@@ -18,7 +18,6 @@
 #include <linux/mtd/spi-nor.h>
 #include <linux/mutex.h>
 #include <linux/of.h>
-#include <linux/of_platform.h>
 #include <linux/regulator/consumer.h>
 #include <linux/sched/task_stack.h>
 #include <linux/sizes.h>