Commit 2697f3af authored by Pierre-Louis Bossart's avatar Pierre-Louis Bossart Committed by Mark Brown

ASoC: Intel: boards: byt*.c: remove cast in dev_info quirk log

We don't need an explicit cast, using the right format is simple
enough.
Suggested-by: default avatarGuennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com>
Signed-off-by: default avatarPierre-Louis Bossart <pierre-louis.bossart@linux.intel.com>
Reviewed-by: default avatarBard Liao <yung-chuan.liao@linux.intel.com>
Reviewed-by: default avatarKai Vehmanen <kai.vehmanen@linux.intel.com>
Link: https://lore.kernel.org/r/20200625191308.3322-7-pierre-louis.bossart@linux.intel.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent 2555ebe9
...@@ -525,9 +525,8 @@ static int snd_byt_cht_es8316_mc_probe(struct platform_device *pdev) ...@@ -525,9 +525,8 @@ static int snd_byt_cht_es8316_mc_probe(struct platform_device *pdev)
BYT_CHT_ES8316_MONO_SPEAKER; BYT_CHT_ES8316_MONO_SPEAKER;
} }
if (quirk_override != -1) { if (quirk_override != -1) {
dev_info(dev, "Overriding quirk 0x%x => 0x%x\n", dev_info(dev, "Overriding quirk 0x%lx => 0x%x\n",
(unsigned int)quirk, quirk, quirk_override);
quirk_override);
quirk = quirk_override; quirk = quirk_override;
} }
log_quirks(dev); log_quirks(dev);
......
...@@ -1265,8 +1265,8 @@ static int snd_byt_rt5640_mc_probe(struct platform_device *pdev) ...@@ -1265,8 +1265,8 @@ static int snd_byt_rt5640_mc_probe(struct platform_device *pdev)
if (dmi_id) if (dmi_id)
byt_rt5640_quirk = (unsigned long)dmi_id->driver_data; byt_rt5640_quirk = (unsigned long)dmi_id->driver_data;
if (quirk_override != -1) { if (quirk_override != -1) {
dev_info(&pdev->dev, "Overriding quirk 0x%x => 0x%x\n", dev_info(&pdev->dev, "Overriding quirk 0x%lx => 0x%x\n",
(unsigned int)byt_rt5640_quirk, quirk_override); byt_rt5640_quirk, quirk_override);
byt_rt5640_quirk = quirk_override; byt_rt5640_quirk = quirk_override;
} }
......
...@@ -977,8 +977,8 @@ static int snd_byt_rt5651_mc_probe(struct platform_device *pdev) ...@@ -977,8 +977,8 @@ static int snd_byt_rt5651_mc_probe(struct platform_device *pdev)
dmi_check_system(byt_rt5651_quirk_table); dmi_check_system(byt_rt5651_quirk_table);
if (quirk_override != -1) { if (quirk_override != -1) {
dev_info(&pdev->dev, "Overriding quirk 0x%x => 0x%x\n", dev_info(&pdev->dev, "Overriding quirk 0x%lx => 0x%x\n",
(unsigned int)byt_rt5651_quirk, quirk_override); byt_rt5651_quirk, quirk_override);
byt_rt5651_quirk = quirk_override; byt_rt5651_quirk = quirk_override;
} }
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment