[PATCH] ASoC: Variable type completion

Xin Gao gaoxin at cdjrlc.com
Tue Aug 16 19:45:02 CEST 2022


'unsigned int' is better than 'unsigned'.

Signed-off-by: Xin Gao <gaoxin at cdjrlc.com>
---
 sound/soc/codecs/pcm3008.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git a/sound/soc/codecs/pcm3008.h b/sound/soc/codecs/pcm3008.h
index f7f4fbbd89db..45270bcf1c02 100644
--- a/sound/soc/codecs/pcm3008.h
+++ b/sound/soc/codecs/pcm3008.h
@@ -10,10 +10,10 @@
 #define __LINUX_SND_SOC_PCM3008_H
 
 struct pcm3008_setup_data {
-	unsigned dem0_pin;
-	unsigned dem1_pin;
-	unsigned pdad_pin;
-	unsigned pdda_pin;
+	unsigned int dem0_pin;
+	unsigned int dem1_pin;
+	unsigned int pdad_pin;
+	unsigned int pdda_pin;
 };
 
 #endif
-- 
2.30.2



More information about the Alsa-devel mailing list