diff options
| author | 2020-11-29 00:43:42 +0100 | |
|---|---|---|
| committer | 2020-11-30 09:09:12 +0100 | |
| commit | f74bed6a4e0d7f51da7f624e47f6e9423920e1e0 (patch) | |
| tree | 7bb7c5d99cf05f76016c01b7d9c959508965320a /include/uapi/git:/ssh:/git@git.zx2c4.com | |
| parent | thermal: power allocator: change the 'k_*' always in estimate_pid_constants() (diff) | |
| download | linux-dev-f74bed6a4e0d7f51da7f624e47f6e9423920e1e0.tar.xz linux-dev-f74bed6a4e0d7f51da7f624e47f6e9423920e1e0.zip | |
thermal: core: Constify static attribute_group structs
The only usage of these structs is to assign their address to the
thermal_zone_attribute_groups array, which consists of pointers to
const, so make them const to allow the compiler to put them in read-only
memory.
Signed-off-by: Rikard Falkeborn <rikard.falkeborn@gmail.com>
Signed-off-by: Daniel Lezcano <daniel.lezcano@linaro.org>
Link: https://lore.kernel.org/r/20201128234342.36684-1-rikard.falkeborn@gmail.com
Diffstat (limited to 'include/uapi/git:/ssh:/git@git.zx2c4.com')
0 files changed, 0 insertions, 0 deletions
