[PATCH] ASoC: Variable type completion

Xin Gao gaoxin at cdjrlc.com
Mon Aug 8 17:39:10 CEST 2022


'unsigned int' is better than 'unsigned'.

Signed-off-by: Xin Gao <gaoxin at cdjrlc.com>
---
 sound/soc/codecs/uda134x.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/sound/soc/codecs/uda134x.c b/sound/soc/codecs/uda134x.c
index 037833c509f7..607897f1f357 100644
--- a/sound/soc/codecs/uda134x.c
+++ b/sound/soc/codecs/uda134x.c
@@ -450,7 +450,7 @@ static int uda134x_soc_probe(struct snd_soc_component *component)
 	struct uda134x_priv *uda134x = snd_soc_component_get_drvdata(component);
 	struct uda134x_platform_data *pd = uda134x->pd;
 	const struct snd_soc_dapm_widget *widgets;
-	unsigned num_widgets;
+	unsigned int num_widgets;
 	int ret;
 
 	printk(KERN_INFO "UDA134X SoC Audio Codec\n");
-- 
2.30.2



More information about the Alsa-devel mailing list