diff options
author | Muhammad Falak R Wani <[email protected]> | 2016-05-13 23:06:40 +0530 |
---|---|---|
committer | Alex Deucher <[email protected]> | 2016-05-16 12:17:25 -0400 |
commit | a7aabcc8a5f5e7834abb538ad97db04d29968fbe (patch) | |
tree | 94d34ff277c71ec509f10469dae609cdd57af179 /tools/perf/scripts/python/call-graph-from-postgresql.py | |
parent | 484f689fc9d4eb91c68f53e97dc355b1b06c3edb (diff) |
drm/amd/powerplay: use ARRAY_SIZE() to calculate array size.
It is preferred to use ARRAY_SIZE() for size calculation, instead
using sizeof(array)/sizeof(*array). It makes the code more readable.
Reviewed-by: Christian König <[email protected]>
Reviewed-by: Eric Engestrom <[email protected]>
Signed-off-by: Muhammad Falak R Wani <[email protected]>
Signed-off-by: Alex Deucher <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/call-graph-from-postgresql.py')
0 files changed, 0 insertions, 0 deletions