Unverified Commit a14e9323 authored by tangbin's avatar tangbin Committed by Mark Brown
Browse files

ASoC: loongson: remove unnecessary assignment in i2s_resume()



In this function, the assignment ret is unnecessary,
thus remove it.

Signed-off-by: default avatartangbin <tangbin@cmss.chinamobile.com>
Link: https://patch.msgid.link/20240903090301.6192-1-tangbin@cmss.chinamobile.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent dc70fd02
Loading
Loading
Loading
Loading
+1 −4
Original line number Diff line number Diff line
@@ -255,13 +255,10 @@ static int i2s_suspend(struct device *dev)
static int i2s_resume(struct device *dev)
{
	struct loongson_i2s *i2s = dev_get_drvdata(dev);
	int ret;

	regcache_cache_only(i2s->regmap, false);
	regcache_mark_dirty(i2s->regmap);
	ret = regcache_sync(i2s->regmap);

	return ret;
	return regcache_sync(i2s->regmap);
}

const struct dev_pm_ops loongson_i2s_pm = {