Commit dc70fd02 authored by Hongbo Li's avatar Hongbo Li Committed by Mark Brown

ASoC: adi: Use str_enabled_disabled() helper

Use str_enabled_disabled() helper instead of open
coding the same.
Signed-off-by: default avatarHongbo Li <lihongbo22@huawei.com>
Link: https://patch.msgid.link/20240831095149.4161729-1-lihongbo22@huawei.comSigned-off-by: default avatarMark Brown <broonie@kernel.org>
parent f465d10c
......@@ -264,8 +264,8 @@ static int axi_i2s_probe(struct platform_device *pdev)
goto err_clk_disable;
dev_info(&pdev->dev, "probed, capture %s, playback %s\n",
i2s->has_capture ? "enabled" : "disabled",
i2s->has_playback ? "enabled" : "disabled");
str_enabled_disabled(i2s->has_capture),
str_enabled_disabled(i2s->has_playback));
return 0;
......
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