Commit d24a7063 authored by Mark Brown's avatar Mark Brown

ASoC: max98090: Remove empty suspend function

The suspend function is empty so can be removed.
Signed-off-by: default avatarMark Brown <broonie@kernel.org>
Reviewed-by: default avatarTzung-Bi Shih <tzungbi@google.com>
Link: https://lore.kernel.org/r/20191219125140.47689-1-broonie@kernel.orgSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 5b425814
...@@ -2838,17 +2838,12 @@ static int max98090_resume(struct device *dev) ...@@ -2838,17 +2838,12 @@ static int max98090_resume(struct device *dev)
return 0; return 0;
} }
static int max98090_suspend(struct device *dev)
{
return 0;
}
#endif #endif
static const struct dev_pm_ops max98090_pm = { static const struct dev_pm_ops max98090_pm = {
SET_RUNTIME_PM_OPS(max98090_runtime_suspend, SET_RUNTIME_PM_OPS(max98090_runtime_suspend,
max98090_runtime_resume, NULL) 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[] = { static const struct i2c_device_id max98090_i2c_id[] = {
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment