aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/bin/stackcollapse-report
diff options
context:
space:
mode:
authorLaurent Pinchart <[email protected]>2022-10-16 09:15:07 +0300
committerSakari Ailus <[email protected]>2022-10-27 14:38:00 +0300
commit2548df538cdd39b52976545a94529c9b81671a41 (patch)
treecacf810a3ccd760b1d2af527aad31107d1245058 /tools/perf/scripts/python/bin/stackcollapse-report
parentfbe0a89dc7e32a38904da0c149150b52ccf44279 (diff)
media: i2c: imx290: Replace macro with explicit ARRAY_SIZE()
Use ARRAY_SIZE(imx290->supplies) for code that needs the size of the array, instead of relying on the IMX290_NUM_SUPPLIES. The result is less error-prone as it ties the size to the array. Signed-off-by: Laurent Pinchart <[email protected]> Reviewed-by: Alexander Stein <[email protected]> Signed-off-by: Sakari Ailus <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/bin/stackcollapse-report')
0 files changed, 0 insertions, 0 deletions