commit | b7515ab0151250ba04514b57c1f2e7bf081cb504 | [log] [tgz] |
---|---|---|
author | Himanshu Jha <himanshujha199640@gmail.com> | Thu Oct 25 15:18:03 2018 +0530 |
committer | Anas Nashif <anas.nashif@intel.com> | Wed Nov 07 16:56:33 2018 -0500 |
tree | 3dee6400f66781cba2e721d8df5f262cfd42d33d | |
parent | f803a25ec1e8e732493b015ce32c99296b4c3de7 [diff] |
drivers: audio: Use ARRAY_SIZE helper macro Use ARRAY_SIZE helper macro to compute size of array rather than hardcoding. Also, remove unnecessary variable to store the size which is now useless. Found using Coccinelle. Signed-off-by: Himanshu Jha <himanshujha199640@gmail.com>