Skip to content

Commit d24a706

Browse files
committed
ASoC: max98090: Remove empty suspend function
The suspend function is empty so can be removed. Signed-off-by: Mark Brown <[email protected]> Reviewed-by: Tzung-Bi Shih <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
1 parent 5b42581 commit d24a706

File tree

1 file changed

+1
-6
lines changed

1 file changed

+1
-6
lines changed

sound/soc/codecs/max98090.c

Lines changed: 1 addition & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -2838,17 +2838,12 @@ static int max98090_resume(struct device *dev)
28382838

28392839
return 0;
28402840
}
2841-
2842-
static int max98090_suspend(struct device *dev)
2843-
{
2844-
return 0;
2845-
}
28462841
#endif
28472842

28482843
static const struct dev_pm_ops max98090_pm = {
28492844
SET_RUNTIME_PM_OPS(max98090_runtime_suspend,
28502845
max98090_runtime_resume, NULL)
2851-
SET_SYSTEM_SLEEP_PM_OPS(max98090_suspend, max98090_resume)
2846+
SET_SYSTEM_SLEEP_PM_OPS(NULL, max98090_resume)
28522847
};
28532848

28542849
static const struct i2c_device_id max98090_i2c_id[] = {

0 commit comments

Comments
 (0)