linux/drivers/hwmon
Krzysztof Kozlowski bf36b752ca hwmon: lochnagar: constify pointers to hwmon_channel_info
Statically allocated array of pointed to hwmon_channel_info can be made
const for safety.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2023-04-19 07:08:36 -07:00
..
occ hwmon: (occ) OCC sensors aren't arch-specific 2022-12-04 16:45:02 -08:00
peci hwmon: (peci/cputemp) Fix miscalculated DTS for SKX 2023-03-21 07:39:20 -07:00
pmbus hwmon: (pmbus/core) Notify hwmon events 2023-04-19 07:08:32 -07:00
abituguru3.c hwmon: (abitguru3) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-09-25 14:22:11 -07:00
abituguru.c hwmon: (abitguru) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-09-25 14:22:11 -07:00
acpi_power_meter.c ACPI: make remove callback of ACPI driver void 2022-11-23 19:11:22 +01:00
ad7314.c
ad7414.c hwmon: cleanup non-bool "valid" data fields 2021-10-12 07:22:41 -07:00
ad7418.c hwmon: cleanup non-bool "valid" data fields 2021-10-12 07:22:41 -07:00
adc128d818.c hwmon updates for v6.1 2022-10-04 19:02:54 -07:00
adcxx.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
adm1021.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
adm1025.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
adm1026.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
adm1029.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
adm1031.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
adm1177.c hwmon: adm1177: constify pointers to hwmon_channel_info 2023-04-19 07:08:34 -07:00
adm9240.c hwmon: adm9240: constify pointers to hwmon_channel_info 2023-04-19 07:08:34 -07:00
ads7828.c
ads7871.c
adt7x10.c hwmon: adt7x10: constify pointers to hwmon_channel_info 2023-04-19 07:08:34 -07:00
adt7x10.h hwmon: (adt7x10) Switch to EXPORT_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-09-25 14:22:12 -07:00
adt7310.c hwmon: (adt7x10) Switch to EXPORT_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-09-25 14:22:12 -07:00
adt7410.c hwmon: (adt7x10) Switch to EXPORT_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-09-25 14:22:12 -07:00
adt7411.c hwmon: adt7411: constify pointers to hwmon_channel_info 2023-04-19 07:08:34 -07:00
adt7462.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
adt7470.c hwmon: adt7470: constify pointers to hwmon_channel_info 2023-04-19 07:08:34 -07:00
adt7475.c hwmon: (adt7475) Fix masking of hysteresis registers 2023-03-05 15:08:06 -08:00
aht10.c hwmon: aht10: constify pointers to hwmon_channel_info 2023-04-19 07:08:34 -07:00
amc6821.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
applesmc.c hwmon: cleanup non-bool "valid" data fields 2021-10-12 07:22:41 -07:00
aquacomputer_d5next.c hwmon: aquacomputer: constify pointers to hwmon_channel_info 2023-04-19 07:08:34 -07:00
as370-hwmon.c hwmon: as370: constify pointers to hwmon_channel_info 2023-04-19 07:08:34 -07:00
asb100.c hwmon updates for v6.1 2022-10-04 19:02:54 -07:00
asc7621.c hwmon updates for v6.1 2022-10-04 19:02:54 -07:00
aspeed-pwm-tacho.c hwmon: (aspeed-pwm-tacho) increase fan tach period (again) 2022-07-21 07:15:55 -07:00
asus_atk0110.c ACPI: make remove callback of ACPI driver void 2022-11-23 19:11:22 +01:00
asus_wmi_sensors.c hwmon: (asus_wmi_sensors) Save a few bytes of memory 2022-07-13 08:39:42 -07:00
asus-ec-sensors.c hwmon: (asus-ec-sensors) add zenith ii extreme alpha 2023-02-03 07:30:10 -08:00
atxp1.c hwmon: Include <linux/kstrtox.h> when appropriate 2022-12-04 16:45:02 -08:00
axi-fan-control.c hwmon: axi-fan: constify pointers to hwmon_channel_info 2023-04-19 07:08:34 -07:00
bt1-pvt.c hwmon: bt1-pvt: constify pointers to hwmon_channel_info 2023-04-19 07:08:34 -07:00
bt1-pvt.h
coretemp.c hwmon: (coretemp) Simplify platform device handling 2023-02-03 07:30:09 -08:00
corsair-cpro.c hwmon: corsair: constify pointers to hwmon_channel_info 2023-04-19 07:08:35 -07:00
corsair-psu.c hwmon: corsair: constify pointers to hwmon_channel_info 2023-04-19 07:08:35 -07:00
da9052-hwmon.c
da9055-hwmon.c
dell-smm-hwmon.c hwmon: dell-smm: constify pointers to hwmon_channel_info 2023-04-19 07:08:35 -07:00
dme1737.c hwmon updates for v6.1 2022-10-04 19:02:54 -07:00
drivetemp.c hwmon: drivetemp: constify pointers to hwmon_channel_info 2023-04-19 07:08:35 -07:00
ds620.c hwmon: cleanup non-bool "valid" data fields 2021-10-12 07:22:41 -07:00
ds1621.c hwmon: use sysfs_emit() to instead of scnprintf() 2022-12-04 16:49:43 -08:00
emc6w201.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
emc1403.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
emc2103.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
emc2305.c hwmon: emc2305: constify pointers to hwmon_channel_info 2023-04-19 07:08:35 -07:00
f71805f.c hwmon: cleanup non-bool "valid" data fields 2021-10-12 07:22:41 -07:00
f71882fg.c hwmon: (f71882fg) Reorder symbols to get rid of a few forward declarations 2022-09-25 14:22:11 -07:00
f75375s.c hwmon updates for v6.1 2022-10-04 19:02:54 -07:00
fam15h_power.c hwmon: Replace deprecated CPU-hotplug functions. 2021-08-17 14:54:26 -07:00
fschmd.c hwmon: (fschmd) Make const arrays static const 2022-12-04 16:45:01 -08:00
ftsteutates.c hwmon: ftsteutates: constify pointers to hwmon_channel_info 2023-04-19 07:08:35 -07:00
g760a.c hwmon: cleanup non-bool "valid" data fields 2021-10-12 07:22:41 -07:00
g762.c hwmon: (g762) add a check of devm_add_action in g762_of_clock_enable 2023-04-19 07:08:31 -07:00
gl518sm.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
gl520sm.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
gpio-fan.c hwmon: (gpio-fan) drop of_match_ptr for ID table 2023-04-19 07:08:31 -07:00
gsc-hwmon.c hwmon: (gsc-hwmon) Switch to flexible array to simplify code 2022-12-04 16:45:03 -08:00
gxp-fan-ctrl.c hwmon: gxp-fan: constify pointers to hwmon_channel_info 2023-04-19 07:08:35 -07:00
hih6130.c hwmon: (hih6130) fix kernel-doc warnings 2023-02-03 07:30:10 -08:00
hwmon-vid.c
hwmon.c hwmon: constify pointers to hwmon_channel_info 2023-04-07 08:45:17 -07:00
i5k_amb.c
i5500_temp.c hwmon: i5500_temp: constify pointers to hwmon_channel_info 2023-04-19 07:08:35 -07:00
ibmaem.c hwmon: (ibmaem) don't call platform_device_del() if platform_device_add() fails 2022-07-01 11:53:29 -07:00
ibmpex.c hwmon: ibmpex: remove unnecessary (void*) conversions 2023-02-03 07:30:10 -08:00
ibmpowernv.c hwmon: (ibmpowernv, pwm-fan) Use of_property_present() for testing DT property presence 2023-04-19 07:08:31 -07:00
iio_hwmon.c hwmon: (iio_hwmon) use dev_err_probe 2023-02-03 07:30:11 -08:00
ina2xx.c hwmon: replace snprintf in show functions with sysfs_emit 2021-04-20 06:50:14 -07:00
ina209.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
ina238.c hwmon: ina238: constify pointers to hwmon_channel_info 2023-04-19 07:08:35 -07:00
ina3221.c hwmon: ina3221: constify pointers to hwmon_channel_info 2023-04-19 07:08:35 -07:00
intel-m10-bmc-hwmon.c hwmon: intel-m10-bmc: constify pointers to hwmon_channel_info 2023-04-19 07:08:35 -07:00
it87.c hwmon: (it87) Use voltage scaling macro where appropriate 2023-04-19 07:08:33 -07:00
jc42.c hwmon: jc42: constify pointers to hwmon_channel_info 2023-04-19 07:08:35 -07:00
k8temp.c hwmon: k8temp: constify pointers to hwmon_channel_info 2023-04-19 07:08:36 -07:00
k10temp.c hwmon: k10temp: constify pointers to hwmon_channel_info 2023-04-19 07:08:36 -07:00
Kconfig - Core Frameworks 2023-02-23 15:03:05 -08:00
lan966x-hwmon.c hwmon: lan966x: constify pointers to hwmon_channel_info 2023-04-19 07:08:36 -07:00
lineage-pem.c hwmon: cleanup non-bool "valid" data fields 2021-10-12 07:22:41 -07:00
lm63.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
lm70.c hwmon: (lm70) Add ti,tmp125 support 2022-02-27 17:03:19 -08:00
lm73.c hwmon: use sysfs_emit() to instead of scnprintf() 2022-12-04 16:49:43 -08:00
lm75.c hwmon: lm75: constify pointers to hwmon_channel_info 2023-04-19 07:08:36 -07:00
lm75.h hwmon: (lm75) Replace kernel.h with the necessary inclusions 2022-07-13 08:38:19 -07:00
lm77.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
lm78.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
lm80.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
lm83.c hwmon: lm83: constify pointers to hwmon_channel_info 2023-04-19 07:08:36 -07:00
lm85.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
lm87.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
lm90.c hwmon: Include <linux/kstrtox.h> when appropriate 2022-12-04 16:45:02 -08:00
lm92.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
lm93.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
lm95234.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
lm95241.c hwmon: lm95241: constify pointers to hwmon_channel_info 2023-04-19 07:08:36 -07:00
lm95245.c hwmon: lm95245: constify pointers to hwmon_channel_info 2023-04-19 07:08:36 -07:00
lochnagar-hwmon.c hwmon: lochnagar: constify pointers to hwmon_channel_info 2023-04-19 07:08:36 -07:00
ltc2945.c hwmon: (ltc2945) Allow setting shunt resistor 2023-02-03 07:30:10 -08:00
ltc2947-core.c hwmon: (ltc2947) fix temperature scaling 2022-11-20 06:04:15 -08:00
ltc2947-i2c.c hwmon: (ltc2947) Switch to EXPORT_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-09-25 14:22:12 -07:00
ltc2947-spi.c hwmon: (ltc2947) Switch to EXPORT_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-09-25 14:22:12 -07:00
ltc2947.h
ltc2990.c hwmon: replace snprintf in show functions with sysfs_emit 2021-04-20 06:50:14 -07:00
ltc2992.c hwmon: (ltc2992) Set can_sleep flag for GPIO chip 2023-03-15 19:15:00 -07:00
ltc4151.c hwmon: cleanup non-bool "valid" data fields 2021-10-12 07:22:41 -07:00
ltc4215.c hwmon: cleanup non-bool "valid" data fields 2021-10-12 07:22:41 -07:00
ltc4222.c hwmon: replace snprintf in show functions with sysfs_emit 2021-04-20 06:50:14 -07:00
ltc4245.c hwmon: (ltc4245) Use of_property_read_bool() for boolean properties 2023-04-19 07:08:31 -07:00
ltc4260.c hwmon: replace snprintf in show functions with sysfs_emit 2021-04-20 06:50:14 -07:00
ltc4261.c hwmon: cleanup non-bool "valid" data fields 2021-10-12 07:22:41 -07:00
ltq-cputemp.c
Makefile hwmon updates for v6.3 2023-02-22 11:31:09 -08:00
max127.c hwmon: use simple i2c probe 2022-12-04 16:45:02 -08:00
max197.c
max1111.c spi: make remove callback a void function 2022-02-09 13:00:45 +00:00
max1619.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
max1668.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
max6620.c hwmon: Add Maxim MAX6620 hardware monitoring driver 2021-10-12 07:22:37 -07:00
max6621.c hwmon: (max6621) Fix fall-through warnings for Clang 2021-05-17 19:50:37 -05:00
max6639.c hwmon: (max6639) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-09-25 14:22:12 -07:00
max6642.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
max6650.c
max6697.c
max16065.c hwmon: cleanup non-bool "valid" data fields 2021-10-12 07:22:41 -07:00
max31722.c hwmon: (max31722) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-09-25 14:22:12 -07:00
max31730.c hwmon: (max31730) witch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-09-25 14:22:12 -07:00
max31760.c drivers: hwmon: Add max31760 fan speed controller driver 2022-09-20 07:10:58 -07:00
max31790.c hwmon: (max31790) add fanN_enable 2022-09-19 06:17:05 -07:00
mc34vr500.c hwmon: add initial NXP MC34VR500 PMIC monitoring support 2023-02-03 07:30:10 -08:00
mc13783-adc.c
mcp3021.c hwmon: (mcp3021) improve driver support for newer hwmon interface 2022-07-15 10:55:57 -07:00
menf21bmc_hwmon.c
mlxreg-fan.c hwmon: (mlxreg-fan) Return zero speed for broken fan 2023-02-12 07:21:40 -08:00
mr75203.c hwmon: Include <linux/kstrtox.h> when appropriate 2022-12-04 16:45:02 -08:00
nct6683.c hwmon: (nct6683) remove unused variable in nct6683_create_attr_group 2022-10-02 08:01:18 -07:00
nct6775-core.c hwmon: (nct6775) Fix incorrect parenthesization in nct6775_write_fan_div() 2023-01-03 13:26:45 -08:00
nct6775-i2c.c hwmon: (nct6775) Add i2c driver 2022-05-22 11:32:31 -07:00
nct6775-platform.c hwmon: (nct6775) update ASUS WMI monitoring list B360/H410/H610/Z390... 2023-04-19 07:08:33 -07:00
nct6775.h hwmon: (nct6775) Fix platform driver suspend regression 2022-08-10 06:37:01 -07:00
nct7802.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
nct7904.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
npcm750-pwm-fan.c
nsa320-hwmon.c
ntc_thermistor.c hwmon: (ntc_thermistor) Underscore Samsung thermistor 2022-02-19 16:47:54 -08:00
nzxt-kraken2.c hwmon: add driver for NZXT Kraken X42/X52/X62/X72 2021-04-20 06:50:14 -07:00
nzxt-smart2.c hwmon: (nzxt-smart2) handle failure of devm_add_action in nzxt_smart2_hid_probe 2023-04-19 07:08:31 -07:00
oxp-sensors.c hwmon: (oxp-sensors) Add AYANEO AIR and AIR Pro 2023-02-03 07:30:09 -08:00
pc87360.c hwmon: (pc87360) Reorder symbols to get rid of a few forward declarations 2022-09-25 14:22:11 -07:00
pc87427.c
pcf8591.c hwmon: Include <linux/kstrtox.h> when appropriate 2022-12-04 16:45:02 -08:00
powr1220.c hwmon: (powr1220) Add support for Lattice's POWR1014 power manager IC 2022-02-27 17:03:17 -08:00
pwm-fan.c hwmon: (pwm-fan) set usage_power on PWM state 2023-04-19 07:08:33 -07:00
raspberrypi-hwmon.c hwmon: (raspberrypi) Exit immediately in case of error in init 2021-12-26 15:02:06 -08:00
sbrmi.c hwmon: use simple i2c probe 2022-12-04 16:45:02 -08:00
sbtsi_temp.c hwmon: use simple i2c probe 2022-12-04 16:45:02 -08:00
sch56xx-common.c hwmon: (sch56xx-common) Add DMI override table 2022-07-13 08:38:19 -07:00
sch56xx-common.h hwmon: (sch56xx) Use devres functions for watchdog 2021-06-17 04:21:44 -07:00
sch5627.c hwmon: (sch5627) Add pwmX_auto_channels_temp support 2022-02-27 17:03:19 -08:00
sch5636.c hwmon: (sch56xx) Autoload modules on platform device creation 2022-02-27 17:03:17 -08:00
scmi-hwmon.c hwmon: (scmi) Register explicitly with Thermal Framework 2022-11-04 16:47:01 -07:00
scpi-hwmon.c hwmon/drivers/core: Switch to new of thermal API 2022-08-17 14:09:39 +02:00
sht3x.c hwmon: use sysfs_emit() to instead of scnprintf() 2022-12-04 16:49:43 -08:00
sht4x.c hwmon: use simple i2c probe 2022-12-04 16:45:02 -08:00
sht15.c hwmon: (sht15,sht21) fix kernel-doc warnings 2023-02-03 07:30:10 -08:00
sht21.c hwmon: (sht15,sht21) fix kernel-doc warnings 2023-02-03 07:30:10 -08:00
shtc1.c
sis5595.c hwmon: (sis5595) Reorder symbols to get rid of a few forward declarations 2022-09-25 14:22:11 -07:00
sl28cpld-hwmon.c hwmon: (sl28cpld) Fix typo in comment 2022-05-22 11:32:32 -07:00
smm665.c i2c: Make remove callback return void 2022-08-16 12:46:26 +02:00
smpro-hwmon.c hwmon: (smpro-hwmon) Improve switch statments in smpro_is_visible() 2022-12-04 16:45:02 -08:00
smsc47b397.c hwmon: cleanup non-bool "valid" data fields 2021-10-12 07:22:41 -07:00
smsc47m1.c
smsc47m192.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
sparx5-temp.c hwmon: (sparx5) Use devm_clk_get_enabled() helper 2022-09-19 06:17:05 -07:00
stts751.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
sy7636a-hwmon.c hwmon: sy7636a: Add temperature driver for sy7636a 2022-02-08 09:27:33 +00:00
tc74.c
tc654.c hwmon: (tc654) Add thermal_cooling device support 2022-02-27 17:03:18 -08:00
thmc50.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
tmp102.c hwmon: (tmp102) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-09-25 14:22:12 -07:00
tmp103.c hwmon: (tmp103) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-09-25 14:22:12 -07:00
tmp108.c hwmon: (tmp108) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-09-25 14:22:12 -07:00
tmp401.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
tmp421.c hwmon: move from strlcpy with unused retval to strscpy 2022-09-19 06:17:05 -07:00
tmp464.c hwmon: Add driver for Texas Instruments TMP464 and TMP468 2022-03-03 07:40:42 -08:00
tmp513.c hwmon: tmp512: drop of_match_ptr for ID table 2023-03-12 14:14:16 -07:00
tps23861.c hwmon updates for v6.1 2022-10-04 19:02:54 -07:00
ultra45_env.c
vexpress-hwmon.c hwmon: (vexpress-hwmon) Use of_device_get_match_data() 2022-03-08 09:15:22 -08:00
via686a.c hwmon: (via686a) Reorder symbols to get rid of a few forward declarations 2022-09-25 14:22:11 -07:00
via-cputemp.c
vt1211.c hwmon: remove unused superio_outb function 2023-04-19 07:08:33 -07:00
vt8231.c hwmon: Remove some useless #include <linux/hwmon-vid.h> 2022-12-04 16:45:02 -08:00
w83l785ts.c hwmon updates for v6.1 2022-10-04 19:02:54 -07:00
w83l786ng.c hwmon: Remove some useless #include <linux/hwmon-vid.h> 2022-12-04 16:45:02 -08:00
w83627ehf.c hwmon: (w83627ehf) Switch to DEFINE_SIMPLE_DEV_PM_OPS() and pm_sleep_ptr() 2022-09-25 14:22:12 -07:00
w83627hf.c hwmon: w83627hf: Reorder symbols to get rid of a few forward declarations 2022-09-26 15:21:33 -07:00
w83773g.c
w83781d.c hwmon updates for v6.1 2022-10-04 19:02:54 -07:00
w83791d.c hwmon updates for v6.1 2022-10-04 19:02:54 -07:00
w83792d.c hwmon updates for v6.1 2022-10-04 19:02:54 -07:00
w83793.c hwmon updates for v6.1 2022-10-04 19:02:54 -07:00
w83795.c hwmon updates for v6.1 2022-10-04 19:02:54 -07:00
wm831x-hwmon.c
wm8350-hwmon.c
xgene-hwmon.c hwmon: (xgene) Fix ioremap and memremap leak 2023-03-21 07:50:24 -07:00