diff options
| author | Giorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com> | 2026-03-23 09:46:41 +0300 |
|---|---|---|
| committer | Jonathan Cameron <Jonathan.Cameron@huawei.com> | 2026-03-25 23:27:13 +0300 |
| commit | 6b4cd7b76ee7ed4fb6c74d3876a73979b3669536 (patch) | |
| tree | f7fdc7c2586bf1e38254ad71b0daab81e2c35ded /include/linux/workqueue.h | |
| parent | 7198b881fb00526f6e1125bba0a24e7dc8d95a90 (diff) | |
| download | linux-6b4cd7b76ee7ed4fb6c74d3876a73979b3669536.tar.xz | |
iio: adc: max11410: make vref register name arrays static const
The vrefp_regs and vrefn_regs arrays are constant lookup tables and
are not modified.
Make them static const so they are not reinitialized on each probe
call and are placed in read-only memory. Mark the pointer array as
const as well to prevent unintended modification.
Signed-off-by: Giorgi Tchankvetadze <giorgitchankvetadze1997@gmail.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
Diffstat (limited to 'include/linux/workqueue.h')
0 files changed, 0 insertions, 0 deletions
