Skip to contentSkip to conversation

spi: oc-tiny: Remove unused of_gpio.h

PATCH RESEND In review Andy Shevchenko 2 participants 2 messages Apr 17, 2024 – Apr 18, 2024 SPI

lore
Share & tools
lore
#0 lore raw

PATCH RESEND 1/1 spi: oc-tiny: Remove unused of_gpio.h

of_gpio.h is deprecated and subject to remove.
The driver doesn't use it, simply remove the unused header.

---
 drivers/spi/spi-oc-tiny.c | 2 --
 1 file changed, 2 deletions(-)
drivers/spi/spi-oc-tiny.c +0 -2
index 6ea38f5e7d64..7d8c5cd680d1 100644
@@ -184,8 +184,6 @@ static irqreturn_t tiny_spi_irq(int irq, void *dev)
 }
 
 #ifdef CONFIG_OF
-#include <linux/of_gpio.h>
-
 static int tiny_spi_of_probe(struct platform_device *pdev)
 {
 	struct tiny_spi *hw = platform_get_drvdata(pdev);
Signature · 1 line
2.43.0.rc1.1336.g36b5255a03ac
maintainer
#1 lore raw
Quoted 4 lines · Andy Shevchenko

of_gpio.h is deprecated and subject to remove.
The driver doesn't use it, simply remove the unused header.

Applied to

https://git.kernel.org/pub/scm/linux/kernel/git/broonie/spi.git for-next

Thanks!

[1/1] spi: oc-tiny: Remove unused of_gpio.h

      commit: 037c633df6680500f35a9e9a06286d4e1401897e

All being well this means that it will be integrated into the linux-next tree (usually sometime in the next 24 hours) and sent to Linus during the next merge window (or sooner if it is a bug fix), however if problems are discovered then the patch may be dropped or reverted.

You may get further e-mails resulting from automated or manual testing and review of the tree, please engage with people reporting problems and send followup patches addressing any issues that are reported if needed.

If any updates are required or you are submitting further changes they should be sent as incremental updates against current git, existing patches will not be replaced.

Please add any relevant lists and maintainers to the CCs when replying to this mail.

Thanks,
Mark