From: Mark Brown Date: Tue, 7 Jun 2022 10:52:12 +0000 (+0100) Subject: ASoC: trivial changes for cppcheck warnings X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=88406aa6dbbbb3a1752b130f14b47218a2251f3a;p=linux.git ASoC: trivial changes for cppcheck warnings Merge series from Pierre-Louis Bossart : This can probably wait for the next merge window, I found a number of cppcheck warnings that I didn't see in my last checks. The irony is that the only really important issue found by cppcheck was on one of my previous DPCM changes (submitted separately as a fix). --- 88406aa6dbbbb3a1752b130f14b47218a2251f3a diff --cc sound/soc/codecs/cs35l45.h index 680891bcfce9a,8f98cbbf6209f..53fe9d2b7b15f --- a/sound/soc/codecs/cs35l45.h +++ b/sound/soc/codecs/cs35l45.h @@@ -209,9 -209,9 +209,9 @@@ struct cs35l45_private extern const struct dev_pm_ops cs35l45_pm_ops; extern const struct regmap_config cs35l45_i2c_regmap; extern const struct regmap_config cs35l45_spi_regmap; - int cs35l45_apply_patch(struct cs35l45_private *cs43l45); + int cs35l45_apply_patch(struct cs35l45_private *cs35l45); unsigned int cs35l45_get_clk_freq_id(unsigned int freq); int cs35l45_probe(struct cs35l45_private *cs35l45); -int cs35l45_remove(struct cs35l45_private *cs35l45); +void cs35l45_remove(struct cs35l45_private *cs35l45); #endif /* CS35L45_H */