summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/event_analyzing_sample.py
diff options
context:
space:
mode:
authorMiao Li <limiao@kylinos.cn>2026-05-04 11:04:08 +0800
committerJonathan Cameron <jic23@kernel.org>2026-05-31 10:59:34 +0100
commita4c18ea894e5587bcc6be787fcd77c0c19beaa1d (patch)
treec803206c8ef555ec7f5564b51254c283525229b3 /tools/perf/scripts/python/event_analyzing_sample.py
parentac4129478a2416eecdb09e78f7d7b5d7286b9ac6 (diff)
iio: light: stk3310: Use sizeof() for regmap_bulk_read/write count parameter
Convert the hardcoded count parameter to sizeof(buf) for all regmap_bulk_write() and regmap_bulk_read() calls in this driver to improve code maintainability. For details, see [1]. Link: https://lore.kernel.org/all/20260428192213.7c5c80e5@jic23-huawei/ #[1] Signed-off-by: Miao Li <limiao@kylinos.cn> Reviewed-by: Joshua Crofts <joshua.crofts1@gmail.com> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions