aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/hwmon/pwm-fan.c
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <[email protected]>2023-04-06 20:29:56 +0000
committerGuenter Roeck <[email protected]>2023-04-07 15:45:17 +0000
commitd8cc9415a40f479b666fc03e7b1f4601868e6dc8 (patch)
tree9e51cbfab9e589649a2235e61276b6a1c937128f /drivers/hwmon/pwm-fan.c
parentLinux 6.3-rc5 (diff)
downloadkernel-d8cc9415a40f479b666fc03e7b1f4601868e6dc8.tar.gz
kernel-d8cc9415a40f479b666fc03e7b1f4601868e6dc8.zip
hwmon: constify pointers to hwmon_channel_info
HWmon core receives an array of pointers to hwmon_channel_info and it does not modify it, thus it can be array of const pointers for safety. This allows drivers to make them also const. Signed-off-by: Krzysztof Kozlowski <[email protected]> Signed-off-by: Guenter Roeck <[email protected]>
Diffstat (limited to 'drivers/hwmon/pwm-fan.c')
0 files changed, 0 insertions, 0 deletions