android_kernel_xiaomi_sm8350/drivers/hwmon
Jean Delvare 5f44759470 hwmon: (lm85) Simplify device initialization function
Clean up and simplify the device initialization function:
* Degrade error messages to warnings - what they really are.
* Stop warning about VxI mode, we don't really care.
* Drop comment about lack of limit initialization - that's the standard
  way, all hardware monitoring drivers do that.
* Only read the configuration register once.
* Only write back to the configuration register if needed.
* Don't attempt to clear the lock bit, it locks itself to 1.
* Move the function to before it's called, so that we no longer need to
  forware declare it.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Mark M. Hoffman <mhoffman@lightlink.com>
2008-07-31 23:44:03 -04:00
..
ams
abituguru3.c hwmon: (abituguru3) update driver detection 2008-06-19 06:50:32 -04:00
abituguru.c
ad7418.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
adm1021.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
adm1025.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
adm1026.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
adm1029.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
adm1031.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
adm9240.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
ads7828.c drivers: replace remaining __FUNCTION__ occurrences 2008-04-30 08:29:53 -07:00
adt7470.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
adt7473.c hwmon: (adt7473) clarify an awkward bit of code 2008-07-31 23:44:02 -04:00
applesmc.c hwmon: (applesmc) sensors set for MacBook2 2008-02-17 15:04:14 -05:00
asb100.c hwmon: (asb100) Remove some dead code 2008-04-27 09:23:12 -04:00
atxp1.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
coretemp.c hwmon: (coretemp) Add Penryn CPU to coretemp 2008-02-17 22:08:37 -05:00
dme1737.c hwmon: (dme1737) fix voltage scaling 2008-07-31 23:44:02 -04:00
ds1621.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
f71805f.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
f71882fg.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
f75375s.c i2c: Convert most new-style drivers to use module aliasing 2008-04-29 23:11:40 +02:00
fscher.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
fschmd.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
fscpos.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
gl518sm.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
gl520sm.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
hdaps.c hdaps: add support for various newer Lenovo thinkpads 2008-07-04 10:40:06 -07:00
hwmon-vid.c
hwmon.c
i5k_amb.c i5k_amb: support Intel 5400 chipset 2008-05-24 09:56:08 -07:00
ibmaem.c ibmaem endianness annotations 2008-06-04 08:06:01 -07:00
ibmpex.c ibmpex: report temperatures in mC, not C 2008-03-19 18:53:36 -07:00
it87.c hwmon: (it87) Delete pwmN_freq files on driver removal 2008-02-07 20:39:43 -05:00
k8temp.c
Kconfig hwmon: (lm75) add new-style driver binding 2008-07-31 23:44:02 -04:00
lm63.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
lm70.c
lm75.c hwmon: (lm75) add new-style driver binding 2008-07-31 23:44:02 -04:00
lm75.h
lm77.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
lm78.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
lm80.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
lm83.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
lm85.c hwmon: (lm85) Simplify device initialization function 2008-07-31 23:44:03 -04:00
lm87.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
lm90.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
lm92.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
lm93.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
Makefile ibmaem: new driver for power/energy/temp meters in IBM System X hardware 2008-05-24 09:56:08 -07:00
max1619.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
max6650.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
pc87360.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
pc87427.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
sis5595.c
smsc47b397.c Merge branch 'smsc47b397-new-id' into release 2008-05-01 07:33:17 -04:00
smsc47m1.c hwmon: (smsc47m1) Add individual alarm files 2008-02-17 09:27:18 -05:00
smsc47m192.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
thmc50.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
via686a.c hwmon: (via686a) Add individual alarm files 2008-02-17 09:27:18 -05:00
vt1211.c hwmon: Let the user override the detected Super-I/O device ID 2008-02-07 20:39:42 -05:00
vt8231.c hwmon: (vt8231) Update maintainer email address 2008-02-17 09:27:19 -05:00
w83l785ts.c hwmon: (w83l785ts) Don't ask the user to report failures 2008-04-27 09:23:11 -04:00
w83l786ng.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
w83627ehf.c hwmon: (w83627ehf) The W83627DHG has 8 VID pins 2008-02-07 20:39:45 -05:00
w83627hf.c hwmon: (w83627hf) Refactor beep enable handling 2008-02-07 20:39:45 -05:00
w83781d.c hwmon: (w83781d) Fix I/O resource conflict with PNP 2008-03-27 08:40:41 -04:00
w83791d.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
w83792d.c hwmon: normal_i2c arrays should be const 2008-02-18 21:58:15 -05:00
w83793.c hwmon: (w83793) VID and VRM handling cleanups 2008-04-27 09:23:12 -04:00