projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58461e6
)
spi: lpspi: fsl_lpspi_runtime_resume() can be static
author
kbuild test robot
<lkp@intel.com>
Tue, 19 Mar 2019 01:46:33 +0000
(09:46 +0800)
committer
Leonard Crestez
<leonard.crestez@nxp.com>
Wed, 17 Apr 2019 23:51:34 +0000
(
02:51
+0300)
Fixes:
944c01a889d9
("spi: lpspi: enable runtime pm for lpspi")
Signed-off-by: kbuild test robot <lkp@intel.com>
Signed-off-by: Mark Brown <broonie@kernel.org>
(cherry picked from commit
04f7ee7c9e9b9e0aad42001c0bae54af3997297c
)
drivers/spi/spi-fsl-lpspi.c
patch
|
blob
|
history
diff --git
a/drivers/spi/spi-fsl-lpspi.c
b/drivers/spi/spi-fsl-lpspi.c
index
89262d4
..
4a83962
100644
(file)
--- a/
drivers/spi/spi-fsl-lpspi.c
+++ b/
drivers/spi/spi-fsl-lpspi.c
@@
-774,7
+774,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;
@@
-792,7
+792,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);