Some clean up with helper fucntion

Merge series from Zhang Zekun <zhangzekun11@huawei.com>:

There are some helper functions which can be used to simplify the code.
So, let's use these functions to make code more simple.
This commit is contained in:
Mark Brown 2024-09-04 20:09:26 +01:00
commit e328ab3de4
No known key found for this signature in database
GPG key ID: 24D68B725D5487D0
2 changed files with 3 additions and 20 deletions