forked from luck/tmp_suning_uos_patched
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: Guennadi Liakhovetski <guennadi.liakhovetski@linux.intel.com> Signed-off-by: Pierre-Louis Bossart <pierre-louis.bossart@linux.intel.com> Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com> Reviewed-by: Kai Vehmanen <kai.vehmanen@linux.intel.com> Link: https://lore.kernel.org/r/20200625191308.3322-7-pierre-louis.bossart@linux.intel.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
2555ebe94d
commit
2697f3af42
|
@ -525,9 +525,8 @@ static int snd_byt_cht_es8316_mc_probe(struct platform_device *pdev)
|
|||
BYT_CHT_ES8316_MONO_SPEAKER;
|
||||
}
|
||||
if (quirk_override != -1) {
|
||||
dev_info(dev, "Overriding quirk 0x%x => 0x%x\n",
|
||||
(unsigned int)quirk,
|
||||
quirk_override);
|
||||
dev_info(dev, "Overriding quirk 0x%lx => 0x%x\n",
|
||||
quirk, quirk_override);
|
||||
quirk = quirk_override;
|
||||
}
|
||||
log_quirks(dev);
|
||||
|
|
|
@ -1265,8 +1265,8 @@ static int snd_byt_rt5640_mc_probe(struct platform_device *pdev)
|
|||
if (dmi_id)
|
||||
byt_rt5640_quirk = (unsigned long)dmi_id->driver_data;
|
||||
if (quirk_override != -1) {
|
||||
dev_info(&pdev->dev, "Overriding quirk 0x%x => 0x%x\n",
|
||||
(unsigned int)byt_rt5640_quirk, quirk_override);
|
||||
dev_info(&pdev->dev, "Overriding quirk 0x%lx => 0x%x\n",
|
||||
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)
|
|||
dmi_check_system(byt_rt5651_quirk_table);
|
||||
|
||||
if (quirk_override != -1) {
|
||||
dev_info(&pdev->dev, "Overriding quirk 0x%x => 0x%x\n",
|
||||
(unsigned int)byt_rt5651_quirk, quirk_override);
|
||||
dev_info(&pdev->dev, "Overriding quirk 0x%lx => 0x%x\n",
|
||||
byt_rt5651_quirk, quirk_override);
|
||||
byt_rt5651_quirk = quirk_override;
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue
Block a user