Commit 809b169a authored by kbuild test robot's avatar kbuild test robot Committed by Mark Brown

spi: lpspi: fsl_lpspi_runtime_resume() can be static

Fixes: 944c01a8 ("spi: lpspi: enable runtime pm for lpspi")
Signed-off-by: default avatarkbuild test robot <lkp@intel.com>
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 69b921ac
...@@ -780,7 +780,7 @@ static irqreturn_t fsl_lpspi_isr(int irq, void *dev_id) ...@@ -780,7 +780,7 @@ static irqreturn_t fsl_lpspi_isr(int irq, void *dev_id)
return IRQ_NONE; return IRQ_NONE;
} }
int fsl_lpspi_runtime_resume(struct device *dev) static int fsl_lpspi_runtime_resume(struct device *dev)
{ {
struct fsl_lpspi_data *fsl_lpspi = dev_get_drvdata(dev); struct fsl_lpspi_data *fsl_lpspi = dev_get_drvdata(dev);
int ret; int ret;
...@@ -798,7 +798,7 @@ int fsl_lpspi_runtime_resume(struct device *dev) ...@@ -798,7 +798,7 @@ int fsl_lpspi_runtime_resume(struct device *dev)
return 0; return 0;
} }
int fsl_lpspi_runtime_suspend(struct device *dev) static int fsl_lpspi_runtime_suspend(struct device *dev)
{ {
struct fsl_lpspi_data *fsl_lpspi = dev_get_drvdata(dev); struct fsl_lpspi_data *fsl_lpspi = dev_get_drvdata(dev);
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment