android_kernel_xiaomi_sm8350/drivers/hwmon
Jeff Garzik 1855256c49 drivers/firmware: const-ify DMI API and internals
Three main sets of changes:

1) dmi_get_system_info() return value should have been marked const,
   since callers should not be changing that data.

2) const-ify DMI internals, since DMI firmware tables should,
   whenever possible, be marked const to ensure we never ever write to
   that data area.

3) const-ify DMI API, to enable marking tables const where possible
   in low-level drivers.

And if we're really lucky, this might enable some additional
optimizations on the part of the compiler.

The bulk of the changes are #2 and #3, which are interrelated.  #1 could
have been a separate patch, but it was so small compared to the others,
it was easier to roll it into this changeset.

Signed-off-by: Jeff Garzik <jgarzik@redhat.com>
2007-10-09 20:22:20 -04:00
..
ams hwmon: clean up duplicate includes 2007-07-30 21:05:26 -04:00
abituguru3.c hwmon: make abituguru3_read_increment_offset() static 2007-07-30 21:11:21 -04:00
abituguru.c drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
ad7418.c
adm1021.c
adm1025.c
adm1026.c
adm1029.c
adm1031.c
adm9240.c
applesmc.c drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
asb100.c
atxp1.c
coretemp.c make coretemp_device_remove() static 2007-07-19 14:22:16 -04:00
dme1737.c hwmon: fix dme1737 temp fault attribute 2007-07-30 21:07:23 -04:00
ds1621.c hwmon/ds1621: Create individual alarm files 2007-07-19 14:22:11 -04:00
f71805f.c hwmon/f71805f: Add temperature-tracking fan control mode 2007-07-19 14:22:15 -04:00
fscher.c hwmon: fscher read control bugfix 2007-07-30 21:14:00 -04:00
fscpos.c
gl518sm.c
gl520sm.c
hdaps.c drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
hwmon-vid.c
hwmon.c
it87.c hwmon: Add missing __devexit tags in various drivers 2007-07-30 21:05:43 -04:00
k8temp.c
Kconfig hwmon: add support for THMC50 and ADM1022 2007-07-30 21:02:59 -04:00
lm63.c hwmon: Fault files naming convention 2007-07-19 14:22:12 -04:00
lm70.c SPI: add 3wire mode flag 2007-07-17 10:23:04 -07:00
lm75.c
lm75.h
lm77.c
lm78.c hwmon: End of I/O region off-by-one 2007-09-09 10:38:37 -04:00
lm80.c
lm83.c hwmon: Fault files naming convention 2007-07-19 14:22:12 -04:00
lm85.c
lm87.c
lm90.c hwmon: Fix regression caused by typo in lm90.c 2007-07-30 21:10:34 -04:00
lm92.c
lm93.c hwmon: fix array overruns in lm93.c 2007-07-30 21:04:13 -04:00
Makefile hwmon: add support for THMC50 and ADM1022 2007-07-30 21:02:59 -04:00
max1619.c
max6650.c
pc87360.c hwmon: Add missing __devexit tags in various drivers 2007-07-30 21:05:43 -04:00
pc87427.c hwmon: Fix a potential race condition on unload 2007-07-19 14:22:14 -04:00
sis5595.c hwmon: Add missing __devexit tags in various drivers 2007-07-30 21:05:43 -04:00
smsc47b397.c hwmon/smsc47b397: Don't report missing fans as spinning at 82 RPM 2007-07-19 14:22:16 -04:00
smsc47m1.c hwmon: (smsc47m1) restore missing name attribute 2007-08-12 14:39:44 -04:00
smsc47m192.c hwmon: Fault files naming convention 2007-07-19 14:22:12 -04:00
thmc50.c hwmon: add support for THMC50 and ADM1022 2007-07-30 21:02:59 -04:00
via686a.c hwmon: Add missing __devexit tags in various drivers 2007-07-30 21:05:43 -04:00
vt1211.c
vt8231.c hwmon: Add missing __devexit tags in various drivers 2007-07-30 21:05:43 -04:00
w83l785ts.c
w83627ehf.c hwmon: (w83627ehf) don't assume bank 0 2007-08-12 14:38:31 -04:00
w83627hf.c hwmon: Add missing __devexit tags in various drivers 2007-07-30 21:05:43 -04:00
w83781d.c hwmon: End of I/O region off-by-one 2007-09-09 10:38:37 -04:00
w83791d.c
w83792d.c
w83793.c