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. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Link: https://lore.kernel.org/r/20240417104730.2510856-1-andriy.shevchenko@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
719af321a8
commit
037c633df6
@ -184,8 +184,6 @@ static irqreturn_t tiny_spi_irq(int irq, void *dev)
|
|||||||
}
|
}
|
||||||
|
|
||||||
#ifdef CONFIG_OF
|
#ifdef CONFIG_OF
|
||||||
#include <linux/of_gpio.h>
|
|
||||||
|
|
||||||
static int tiny_spi_of_probe(struct platform_device *pdev)
|
static int tiny_spi_of_probe(struct platform_device *pdev)
|
||||||
{
|
{
|
||||||
struct tiny_spi *hw = platform_get_drvdata(pdev);
|
struct tiny_spi *hw = platform_get_drvdata(pdev);
|
||||||
|
Loading…
Reference in New Issue
Block a user