projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
5b42581
)
ASoC: max98090: Remove empty suspend function
author
Mark Brown
<broonie@kernel.org>
Thu, 19 Dec 2019 12:51:40 +0000
(12:51 +0000)
committer
Mark Brown
<broonie@kernel.org>
Fri, 20 Dec 2019 13:02:04 +0000
(13:02 +0000)
The suspend function is empty so can be removed.
Signed-off-by: Mark Brown <broonie@kernel.org>
Reviewed-by: Tzung-Bi Shih <tzungbi@google.com>
Link:
https://lore.kernel.org/r/20191219125140.47689-1-broonie@kernel.org
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/max98090.c
patch
|
blob
|
history
diff --git
a/sound/soc/codecs/max98090.c
b/sound/soc/codecs/max98090.c
index da23810f958e072da7a2b9a10099f2a1a9ac1f55..4c7b16d557e251f734c813062f77e58df9b54602 100644
(file)
--- a/
sound/soc/codecs/max98090.c
+++ b/
sound/soc/codecs/max98090.c
@@
-2838,17
+2838,12
@@
static int max98090_resume(struct device *dev)
return 0;
}
-
-static int max98090_suspend(struct device *dev)
-{
- return 0;
-}
#endif
static const struct dev_pm_ops max98090_pm = {
SET_RUNTIME_PM_OPS(max98090_runtime_suspend,
max98090_runtime_resume, NULL)
- SET_SYSTEM_SLEEP_PM_OPS(
max98090_suspend
, max98090_resume)
+ SET_SYSTEM_SLEEP_PM_OPS(
NULL
, max98090_resume)
};
static const struct i2c_device_id max98090_i2c_id[] = {