Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
staging: fbtft: Use ARRAY_SIZE() to get argument count
The ARRAY_SIZE(foo) macro should be preferred over sizeof operator based computation such as sizeof(foo)/sizeof(foo[0]) for finding number of elements in an array. Issue identified using coccicheck. Signed-off-by: Deepak R Varma <drv@mailo.com>
- Loading branch information