mirror of
https://github.com/torvalds/linux.git
synced 2026-05-21 13:27:57 +02:00
ASoC: adi: Use str_enabled_disabled() helper
Use str_enabled_disabled() helper instead of open coding the same. Signed-off-by: Hongbo Li <lihongbo22@huawei.com> Link: https://patch.msgid.link/20240831095149.4161729-1-lihongbo22@huawei.com Signed-off-by: Mark Brown <broonie@kernel.org>
This commit is contained in:
parent
f465d10cd7
commit
dc70fd0240
|
|
@ -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;
|
||||
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user