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
1 changed files with 2 additions and 2 deletions
|
|
@ -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…
Add table
Add a link
Reference in a new issue