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

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.com


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent f465d10c
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;