Skip to content

Commit

Permalink
ASoC: max98090: Remove empty suspend function
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Mark Brown committed Dec 20, 2019
1 parent 5b42581 commit d24a706
Showing 1 changed file with 1 addition and 6 deletions.
7 changes: 1 addition & 6 deletions sound/soc/codecs/max98090.c
Original file line number Diff line number Diff line change
@@ -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[] = {

0 comments on commit d24a706

Please sign in to comment.