diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-25 14:55:56 -0500 |
---|---|---|
committer | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2012-01-31 06:16:12 -0500 |
commit | bc122e34469de6ec4b7ca96d3a41724f9e4b1cf4 (patch) | |
tree | 546b6e8754ffc67b7c5832bebadff3189cfda336 /sound/soc/sh | |
parent | 69edea8a50fb88edd0f23eecfb89ef513b68eaee (diff) |
ASoC: fsi: Remove unneeded empty runtime PM callbacks
The runtime PM core no longer requires any callbacks so don't provide
empty ones for it any more.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Diffstat (limited to 'sound/soc/sh')
-rw-r--r-- | sound/soc/sh/fsi.c | 14 |
1 files changed, 0 insertions, 14 deletions
diff --git a/sound/soc/sh/fsi.c b/sound/soc/sh/fsi.c index db6c89a28bda..3241e5bdd54b 100644 --- a/sound/soc/sh/fsi.c +++ b/sound/soc/sh/fsi.c | |||
@@ -1408,23 +1408,9 @@ static int fsi_resume(struct device *dev) | |||
1408 | return 0; | 1408 | return 0; |
1409 | } | 1409 | } |
1410 | 1410 | ||
1411 | static int fsi_runtime_nop(struct device *dev) | ||
1412 | { | ||
1413 | /* Runtime PM callback shared between ->runtime_suspend() | ||
1414 | * and ->runtime_resume(). Simply returns success. | ||
1415 | * | ||
1416 | * This driver re-initializes all registers after | ||
1417 | * pm_runtime_get_sync() anyway so there is no need | ||
1418 | * to save and restore registers here. | ||
1419 | */ | ||
1420 | return 0; | ||
1421 | } | ||
1422 | |||
1423 | static struct dev_pm_ops fsi_pm_ops = { | 1411 | static struct dev_pm_ops fsi_pm_ops = { |
1424 | .suspend = fsi_suspend, | 1412 | .suspend = fsi_suspend, |
1425 | .resume = fsi_resume, | 1413 | .resume = fsi_resume, |
1426 | .runtime_suspend = fsi_runtime_nop, | ||
1427 | .runtime_resume = fsi_runtime_nop, | ||
1428 | }; | 1414 | }; |
1429 | 1415 | ||
1430 | static struct fsi_core fsi1_core = { | 1416 | static struct fsi_core fsi1_core = { |