ASoC: Change return type of snd_soc_write() to int
[deliverable/linux.git] / sound / soc / soc-io.c
index 31ddd52c72fc4874d0d0e7c5077b0fb1017945f7..5fb85783b044eb5893c72f8a61e69b7d4c734844 100644 (file)
@@ -31,8 +31,8 @@ unsigned int snd_soc_read(struct snd_soc_codec *codec, unsigned int reg)
 }
 EXPORT_SYMBOL_GPL(snd_soc_read);
 
-unsigned int snd_soc_write(struct snd_soc_codec *codec,
-                          unsigned int reg, unsigned int val)
+int snd_soc_write(struct snd_soc_codec *codec, unsigned int reg,
+       unsigned int val)
 {
        dev_dbg(codec->dev, "write %x = %x\n", reg, val);
        trace_snd_soc_reg_write(codec, reg, val);
This page took 0.025714 seconds and 5 git commands to generate.