mirror of
https://github.com/torvalds/linux.git
synced 2025-01-01 15:51:46 +00:00
spi: lpspi: fsl_lpspi_runtime_resume() can be static
Fixes: 944c01a889
("spi: lpspi: enable runtime pm for lpspi")
Signed-off-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
69b921acae
commit
809b169abb
@ -780,7 +780,7 @@ static irqreturn_t fsl_lpspi_isr(int irq, void *dev_id)
|
||||
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);
|
||||
int ret;
|
||||
@ -798,7 +798,7 @@ int fsl_lpspi_runtime_resume(struct device *dev)
|
||||
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);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user