summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorLaurent Pinchart <laurent.pinchart@ideasonboard.com>2022-10-16 09:15:07 +0300
committerSakari Ailus <sakari.ailus@linux.intel.com>2022-10-27 14:38:00 +0300
commit2548df538cdd39b52976545a94529c9b81671a41 (patch)
treecacf810a3ccd760b1d2af527aad31107d1245058 /tools/perf/scripts/python
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 <laurent.pinchart@ideasonboard.com> Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions