aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/syscall-counts.py
diff options
context:
space:
mode:
authorRikard Falkeborn <[email protected]>2020-09-13 10:41:12 +0200
committerMark Brown <[email protected]>2020-09-14 14:24:38 +0100
commit9032693e218e69a9527fd5d08c4ce5cdbe90820f (patch)
tree23486bd1dc41a16df29204354124c8e95120de38 /tools/perf/scripts/python/syscall-counts.py
parent96ee75ffd4f63a3d5f9d6a3ea592b2c0ee97acb0 (diff)
regulator: stw481x-vmmc: Constify static structs
The only usage of stw481x_vmmc_ops is to assign its address to the ops field in the regulator_desc struct which is a const pointer. The only usage of vmmc_regulator is to pass its address to of_get_regulator_init_data() and devm_regulator_register(), both which take const pointers. Make both of them const to allow the compiler to put them in read-only memory. Signed-off-by: Rikard Falkeborn <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Mark Brown <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/syscall-counts.py')
0 files changed, 0 insertions, 0 deletions