ASoC: Variable type completion
authorXin Gao <gaoxin@cdjrlc.com>
Mon, 8 Aug 2022 15:39:10 +0000 (23:39 +0800)
committerMark Brown <broonie@kernel.org>
Mon, 15 Aug 2022 00:20:01 +0000 (01:20 +0100)
'unsigned int' is better than 'unsigned'.

Signed-off-by: Xin Gao <gaoxin@cdjrlc.com>
Link: https://lore.kernel.org/r/20220808153910.59545-1-gaoxin@cdjrlc.com
Signed-off-by: Mark Brown <broonie@kernel.org>
sound/soc/codecs/uda134x.c

index 2db3d8a..1a62bec 100644 (file)
@@ -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");