android_kernel_xiaomi_sm8350/drivers/hwmon
Andrew Klossner 51b3e27001 hwmon: (f75375s) Remove unnecessary and confusing initialization
f75375_probe calls i2c_get_clientdata to initialize the data pointer,
but there isn't yet any client data to get, and the value is never
used before the variable is assigned a new value seven lines later.

The call doesn't hurt anything and wastes only a couple of cycles.
The reason to fix it is because this module serves as an example to
hackers writing new hwmon drivers, and this part of the example is
confusing.

Signed-off-by: Andrew Klossner <andrew@cesa.opbu.xerox.com>
Signed-off-by: Jean Delvare <khali@linux-fr.org>
2009-03-12 13:36:39 +01:00
..
ams
abituguru3.c
abituguru.c
ad7414.c
ad7418.c
adcxx.c
adm1021.c
adm1025.c
adm1026.c
adm1029.c
adm1031.c
adm9240.c
ads7828.c
adt7462.c
adt7470.c
adt7473.c
adt7475.c
applesmc.c
asb100.c
atxp1.c
coretemp.c
dme1737.c
ds1621.c
f71805f.c
f71882fg.c
f75375s.c hwmon: (f75375s) Remove unnecessary and confusing initialization 2009-03-12 13:36:39 +01:00
fscher.c
fschmd.c
fscpos.c
gl518sm.c
gl520sm.c
hdaps.c
hp_accel.c
hwmon-vid.c
hwmon.c
i5k_amb.c
ibmaem.c
ibmpex.c
it87.c
k8temp.c
Kconfig
lis3lv02d.c
lis3lv02d.h
lm63.c
lm70.c
lm75.c
lm75.h
lm77.c
lm78.c
lm80.c
lm83.c
lm85.c
lm87.c
lm90.c
lm92.c
lm93.c
ltc4245.c
Makefile
max1111.c
max1619.c
max6650.c
pc87360.c
pc87427.c
sis5595.c
smsc47b397.c
smsc47m1.c
smsc47m192.c
thmc50.c
ultra45_env.c
via686a.c
vt1211.c
vt8231.c
w83l785ts.c
w83l786ng.c
w83627ehf.c
w83627hf.c
w83781d.c
w83791d.c
w83792d.c
w83793.c