WSL2-Linux-Kernel/drivers/hwmon
Arnaud Ebalard 6b19b66013 hwmon: (g762) fix call to devm_hwmon_device_register_with_groups()
g762_remove() needs to first call hwmon_device_unregister() and then
g762_of_clock_disable(). For that reason, it is not possible to
convert it to devm_hwmon_device_register_with_groups() and the
the non device managed version must be used.

This is correctly stated in commit message for 398e16db62 ("hwmon:
(g762) Convert to hwmon_device_register_with_groups") but the
associated changes do in fact introduce a call to the device managed
version of the function.

This patch fixes that typo by switching to the non devm_ version.

Fixes: 398e16db62 ("hwmon: (g762) Convert to hwmon_device_register_with_groups")
Cc: stable@vger.kernel.org (3.17+)
Signed-off-by: Arnaud Ebalard <arno@natisbad.org>
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
2014-11-19 14:06:47 -08:00
..
pmbus
Kconfig Immutable branch between MFD, HWMON, LEDs and Watchdog for v3.18 2014-09-24 09:25:06 -07:00
Makefile hwmon: (menf21bmc) Introduce MEN14F021P00 BMC HWMON driver 2014-09-24 15:36:33 +01:00
ab8500.c hwmon: (ab8500) Call kernel_power_off instead of pm_power_off 2014-10-03 08:19:02 -07:00
abituguru.c
abituguru3.c
abx500.c
abx500.h
acpi_power_meter.c
ad7314.c
ad7414.c
ad7418.c
adc128d818.c
adcxx.c
adm1021.c
adm1025.c hwmon: (adm1025) Fix vrm write operation 2014-08-05 19:44:36 -07:00
adm1026.c hwmon: (adm1026) Fix vrm write operation 2014-08-05 19:44:36 -07:00
adm1029.c
adm1031.c
adm9240.c
ads1015.c hwmon: (ads1015) Use of_property_read_u32 at appropriate places 2014-09-22 11:14:51 -07:00
ads7828.c
ads7871.c
adt7x10.c
adt7x10.h
adt7310.c
adt7410.c
adt7411.c
adt7462.c
adt7470.c
adt7475.c
amc6821.c
applesmc.c
asb100.c hwmon: (asb100) Fix vrm write operation 2014-08-05 19:44:36 -07:00
asc7621.c
asus_atk0110.c fs.h, drivers/hwmon/asus_atk0110.c: fix DEFINE_SIMPLE_ATTRIBUTE semicolon definition and use 2014-08-06 18:01:23 -07:00
atxp1.c
coretemp.c
da9052-hwmon.c hwmon: (da9052) Convert to devm_hwmon_device_register_with_groups 2014-09-22 11:14:52 -07:00
da9055-hwmon.c hwmon: (da9055) Convert to devm_hwmon_device_register_with_groups 2014-09-22 11:14:51 -07:00
dme1737.c hwmon: (dme1737) Prevent overflow problem when writing large limits 2014-08-05 19:40:15 -07:00
ds620.c
ds1621.c hwmon: (ds1621) Update zbits after conversion rate change 2014-08-28 11:18:47 -07:00
emc6w201.c hwmon: (emc6w201) Fix temperature limit range 2014-08-05 17:49:12 -07:00
emc1403.c
emc2103.c
f71805f.c
f71882fg.c
f75375s.c
fam15h_power.c hwmon: (fam15h_power) Fix NB device ID for F16h M30h 2014-11-11 10:39:45 -08:00
fschmd.c
g760a.c
g762.c hwmon: (g762) fix call to devm_hwmon_device_register_with_groups() 2014-11-19 14:06:47 -08:00
gl518sm.c
gl520sm.c
gpio-fan.c
hih6130.c hwmon: (hih6130) Fix missing hih6130->write_length setting 2014-08-05 19:40:27 -07:00
htu21.c
hwmon-vid.c
hwmon.c
i5k_amb.c
ibmaem.c
ibmpex.c
ibmpowernv.c hwmon: (ibmpowernv) Quieten when probing finds no device 2014-11-11 10:39:45 -08:00
iio_hwmon.c
ina2xx.c
ina209.c
it87.c
jc42.c
jz4740-hwmon.c
k8temp.c
k10temp.c hwmon: (k10temp) Convert to devm_hwmon_device_register_with_groups 2014-09-22 11:14:52 -07:00
lineage-pem.c
lm63.c
lm70.c
lm73.c
lm75.c
lm75.h
lm77.c
lm78.c
lm80.c
lm83.c
lm85.c
lm87.c hwmon: (lm87) Fix vrm write operation 2014-08-05 19:44:42 -07:00
lm90.c
lm92.c
lm93.c
lm95234.c
lm95241.c
lm95245.c
ltc2945.c
ltc4151.c
ltc4215.c
ltc4222.c
ltc4245.c
ltc4260.c
ltc4261.c
max197.c
max1111.c
max1619.c
max1668.c
max6639.c
max6642.c
max6650.c
max6697.c
max16065.c
mc13783-adc.c
mcp3021.c
menf21bmc_hwmon.c hwmon: (menf21bmc) Include linux/err.h 2014-10-19 18:41:18 -07:00
nct6683.c
nct6775.c
ntc_thermistor.c hwmon: (ntc_thermistor) Add ntc thermistor to thermal subsystem as a sensor. 2014-09-22 11:14:52 -07:00
pc87360.c hwmon: (pc87360) Fix vrm write operation 2014-08-05 19:44:42 -07:00
pc87427.c
pcf8591.c
powr1220.c
pwm-fan.c hwmon: (pwm-fan) Fix suspend/resume behavior 2014-11-11 10:39:45 -08:00
s3c-hwmon.c
sch56xx-common.c
sch56xx-common.h
sch5627.c
sch5636.c
sht15.c
sht21.c
shtc1.c
sis5595.c
smm665.c
smsc47b397.c hwmon: (smsc47b397) Convert to devm_hwmon_device_register_with_groups 2014-09-22 11:14:52 -07:00
smsc47m1.c
smsc47m192.c
thmc50.c
tmp102.c
tmp103.c hwmon: (tmp103) Fix resource leak bug in tmp103 temperature sensor driver 2014-09-22 11:11:48 -07:00
tmp401.c
tmp421.c
twl4030-madc-hwmon.c
ultra45_env.c
vexpress.c
via-cputemp.c
via686a.c
vt1211.c hwmon: (vt1211) Fix vrm write operation 2014-08-05 19:44:42 -07:00
vt8231.c
w83l785ts.c
w83l786ng.c
w83627ehf.c
w83627hf.c hwmon: (w83627hf) Fix vrm write operation 2014-08-05 19:44:42 -07:00
w83781d.c
w83791d.c hwmon: (w83791d) Fix vrm write operation 2014-08-05 19:44:42 -07:00
w83792d.c
w83793.c hwmon: (w83793) Fix vrm write operation 2014-08-05 19:44:42 -07:00
w83795.c
wm831x-hwmon.c
wm8350-hwmon.c