Skip to content
Unverified Commit ec285cb9 authored by Deepak R Varma's avatar Deepak R Varma Committed by Mark Brown
Browse files

ASoC: codecs: wcd934x: Use min macro for comparison and assignment



Simplify code by using min helper macro for logical evaluation and value
assignment. The change also facilitates code realignment for improved
readability.
Proposed change is identified using minmax.cocci Coccinelle script.

Signed-off-by: default avatarDeepak R Varma <drv@mailo.com>
Link: https://lore.kernel.org/r/Y+p2Hn0nrtHiKwPR@ubun2204.myguest.virtualbox.org


Signed-off-by: default avatarMark Brown <broonie@kernel.org>
parent 1fd61d01
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment