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 hwmon: New AD7416, AD7417 and AD7418 driver 2007-05-08 17:22:02 +02:00
adm1021.c hwmon: Fix unchecked return status, batch 3 2006-09-28 15:31:17 -07:00
adm1025.c hwmon: Fix unchecked return status, batch 3 2006-09-28 15:31:17 -07:00
adm1026.c hwmon: Drop unused mutexes in two drivers 2007-02-14 21:15:03 +01:00
adm1029.c hwmon: New driver for the Analog Devices ADM1029 2007-02-14 21:15:04 +01:00
adm1031.c hwmon: Fix unchecked return status, batch 3 2006-09-28 15:31:17 -07:00
adm9240.c adm9240: Update Grant Coady's email address 2006-10-18 13:03:08 -07:00
applesmc.c drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
asb100.c hwmon: Fix unchecked return status, batch 1 2006-09-28 15:31:17 -07:00
atxp1.c hwmon: Fix unchecked return status, batch 6 2006-09-28 15:31:19 -07:00
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 Fix unchecked return status, batch 5 2006-09-28 15:31:18 -07:00
gl518sm.c Fix unchecked return status, batch 5 2006-09-28 15:31:18 -07:00
gl520sm.c Fix unchecked return status, batch 5 2006-09-28 15:31:18 -07:00
hdaps.c drivers/firmware: const-ify DMI API and internals 2007-10-09 20:22:20 -04:00
hwmon-vid.c hwmon-vid: Don't spam the logs when VRM version is missing 2007-05-27 22:17:43 +02:00
hwmon.c hwmon: Use subsys_initcall 2007-02-14 21:15:04 +01:00
it87.c hwmon: Add missing __devexit tags in various drivers 2007-07-30 21:05:43 -04:00
k8temp.c hwmon: Update Rudolf Marek's e-mail address 2006-12-12 18:18:30 +01:00
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 hwmon/lm75: Use dynamic sysfs callbacks 2007-05-08 17:22:01 +02:00
lm75.h [PATCH] hwmon: move SENSORS_LIMIT to hwmon.h 2005-09-05 09:14:17 -07:00
lm77.c hwmon: Fix unchecked return status, batch 2 2006-09-28 15:31:17 -07:00
lm78.c hwmon: End of I/O region off-by-one 2007-09-09 10:38:37 -04:00
lm80.c hwmon: Fix unchecked return status, batch 2 2006-09-28 15:31:17 -07:00
lm83.c hwmon: Fault files naming convention 2007-07-19 14:22:12 -04:00
lm85.c hwmon: Cleanup a bogus legacy comment 2007-02-14 21:15:03 +01:00
lm87.c hwmon: Only call vid_which_vrm() when needed 2007-05-08 17:21:59 +02:00
lm90.c hwmon: Fix regression caused by typo in lm90.c 2007-07-30 21:10:34 -04:00
lm92.c hwmon: Fix unchecked return status, batch 2 2006-09-28 15:31:17 -07:00
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 hwmon: Fix unchecked return status, batch 6 2006-09-28 15:31:19 -07:00
max6650.c hwmon: New max6650 driver 2007-05-08 17:22:00 +02:00
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 hwmon: Request the I/O regions in platform drivers 2007-05-08 17:21:59 +02:00
vt8231.c hwmon: Add missing __devexit tags in various drivers 2007-07-30 21:05:43 -04:00
w83l785ts.c w83l785ts: Fix unchecked return status 2006-09-28 15:31:18 -07:00
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 w83791d: Fix unchecked return status 2006-10-18 13:03:08 -07:00
w83792d.c hwmon: Update Rudolf Marek's e-mail address 2006-12-12 18:18:30 +01:00
w83793.c hwmon/w83793: Hide invalid VID readings 2007-01-18 22:14:24 +01:00