diff options
-rw-r--r-- | drivers/spi/spi-fsl-dspi.c | 4 |
1 files changed, 1 insertions, 3 deletions
diff --git a/drivers/spi/spi-fsl-dspi.c b/drivers/spi/spi-fsl-dspi.c index 42ede0d796a7..7f0dddb21833 100644 --- a/drivers/spi/spi-fsl-dspi.c +++ b/drivers/spi/spi-fsl-dspi.c | |||
@@ -437,9 +437,7 @@ static int dspi_resume(struct device *dev) | |||
437 | } | 437 | } |
438 | #endif /* CONFIG_PM_SLEEP */ | 438 | #endif /* CONFIG_PM_SLEEP */ |
439 | 439 | ||
440 | static const struct dev_pm_ops dspi_pm = { | 440 | static SIMPLE_DEV_PM_OPS(dspi_pm, dspi_suspend, dspi_resume); |
441 | SET_SYSTEM_SLEEP_PM_OPS(dspi_suspend, dspi_resume) | ||
442 | }; | ||
443 | 441 | ||
444 | static struct regmap_config dspi_regmap_config = { | 442 | static struct regmap_config dspi_regmap_config = { |
445 | .reg_bits = 32, | 443 | .reg_bits = 32, |