ASoC: trivial changes for cppcheck warnings
authorMark Brown <broonie@kernel.org>
Tue, 7 Jun 2022 10:52:12 +0000 (11:52 +0100)
committerMark Brown <broonie@kernel.org>
Tue, 7 Jun 2022 10:52:12 +0000 (11:52 +0100)
Merge series from Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>:

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).

1  2 
sound/soc/codecs/cs35l45.h

index 680891bcfce9a79954363cafb8204e8c34edbf4d,8f98cbbf6209ffa41e99fc9c31cd4830268a8d6c..53fe9d2b7b15f44d80c2063c97daacea6ccc6113
@@@ -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 */