linux/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 hwmon: (pmbus) Add tps40422 front-end driver 2014-08-04 07:01:38 -07:00
ab8500.c hwmon: (ab8500) Call kernel_power_off instead of pm_power_off 2014-10-03 08:19:02 -07:00
abituguru3.c
abituguru.c
abx500.c
abx500.h
acpi_power_meter.c
ad7314.c
ad7414.c hwmon: (ad7414) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:35 -07:00
ad7418.c hwmon: (ad7418) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:35 -07:00
adc128d818.c hwmon: (adc128d818) Drop write support on inX_input attributes 2014-07-07 09:48:23 -07:00
adcxx.c
adm1021.c hwmon: (adm1021) Avoid forward declaration 2014-08-04 07:01:36 -07:00
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 hwmon: (adm1029) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:35 -07:00
adm1031.c hwmon: (adm1031) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:37 -07:00
adm9240.c hwmon: (adm9240) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:37 -07:00
ads1015.c hwmon: (ads1015) Use of_property_read_u32 at appropriate places 2014-09-22 11:14:51 -07:00
ads7828.c hwmon: (ads7828) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:34 -07:00
ads7871.c
adt7x10.c
adt7x10.h
adt7310.c
adt7410.c
adt7411.c hwmon: (adt7411) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:40 -07:00
adt7462.c hwmon: (adt7462) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:39 -07:00
adt7470.c hwmon: (adt7470) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:39 -07:00
adt7475.c
amc6821.c hwmon: (amc6821) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:35 -07:00
applesmc.c
asb100.c hwmon: (asb100) Fix vrm write operation 2014-08-05 19:44:36 -07:00
asc7621.c hwmon: (asc7621) Make map tables const 2014-08-04 07:01:38 -07:00
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 hwmon: (atxp1) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:33 -07:00
coretemp.c Revert "hwmon: (coretemp) Refine TjMax detection" 2014-05-01 04:07:52 -07:00
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 hwmon: (ds620) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:38 -07:00
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 hwmon: Make regmap configs const 2014-08-04 07:01:35 -07:00
emc2103.c hwmon: (emc2103) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:40 -07:00
f71805f.c hwmon: (f71805f) remove unnecessary OOM messages 2014-05-21 16:02:21 -07:00
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 hwmon: (g760a) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:37 -07:00
g762.c hwmon: (g762) fix call to devm_hwmon_device_register_with_groups() 2014-11-19 14:06:47 -08:00
gl518sm.c hwmon: (gl518sm) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:36 -07:00
gl520sm.c hwmon: (gl520sm) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:36 -07:00
gpio-fan.c hwmon: (gpio-fan) Prevent overflow problem when writing large limits 2014-08-04 07:27:50 -07:00
hih6130.c hwmon: (hih6130) Fix missing hih6130->write_length setting 2014-08-05 19:40:27 -07:00
htu21.c hwmon: (htu21) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:35 -07:00
hwmon-vid.c
hwmon.c
i5k_amb.c
ibmaem.c hwmon: ibmaem: Use ktime_get_ns() 2014-07-23 15:01:44 -07:00
ibmpex.c hwmon: (ibmpex) remove unnecessary OOM messages 2014-05-21 16:02:21 -07:00
ibmpowernv.c hwmon: (ibmpowernv) Quieten when probing finds no device 2014-11-11 10:39:45 -08:00
iio_hwmon.c hwmon: (iio_hwmon) Make of_device_id array const 2014-05-21 16:02:23 -07:00
ina2xx.c hwmon: (ina2xx) Cast to s16 on shunt and current regs 2014-06-12 08:36:18 -07:00
ina209.c
it87.c hwmon: (it87) Add support for IT8623E 2014-04-04 18:01:35 +02:00
jc42.c hwmon: (jc42) Add support for STTS2004 and AT30TSE004 2014-05-21 16:02:25 -07:00
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
Kconfig Immutable branch between MFD, HWMON, LEDs and Watchdog for v3.18 2014-09-24 09:25:06 -07:00
lineage-pem.c hwmon: (lineage-pem) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:37 -07:00
lm63.c hwmon: (lm63) Fix smatch warnings 2014-08-04 07:01:36 -07:00
lm70.c hwmon: (lm70) Convert to use devm_hwmon_device_register_with_groups 2014-05-21 16:02:20 -07:00
lm73.c
lm75.c hwmon: (lm75) Add support for TMP112 2014-08-04 07:01:34 -07:00
lm75.h
lm77.c hwmon: (lm77) Prevent overflow problem when writing large limits 2014-07-31 09:41:46 -07:00
lm78.c hwmon: (lm78) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:40 -07:00
lm80.c hwmon: (lm80) Rearrange code to avoid forward declarations 2014-05-21 16:02:26 -07:00
lm83.c hwmon: (lm83) Convert to use devm_hwmon_device_register_with_groups 2014-05-21 16:02:26 -07:00
lm85.c hwmon: (lm85) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:41 -07:00
lm87.c hwmon: (lm87) Fix vrm write operation 2014-08-05 19:44:42 -07:00
lm90.c hwmon: (lm90) Convert to use hwmon_device_register_with_groups 2014-04-04 18:01:35 +02:00
lm92.c hwmon: (lm92) Prevent overflow problem when writing large limits 2014-08-05 17:48:52 -07:00
lm93.c hwmon: (lm93) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:36 -07:00
lm95234.c
lm95241.c
lm95245.c
ltc2945.c hwmon: Make regmap configs const 2014-08-04 07:01:35 -07:00
ltc4151.c hwmon: (ltc4151) Convert to devm_hwmon_device_register_with_groups 2014-06-12 08:36:47 -07:00
ltc4215.c
ltc4222.c hwmon: Make regmap configs const 2014-08-04 07:01:35 -07:00
ltc4245.c
ltc4260.c hwmon: Make regmap configs const 2014-08-04 07:01:35 -07:00
ltc4261.c
Makefile hwmon: (menf21bmc) Introduce MEN14F021P00 BMC HWMON driver 2014-09-24 15:36:33 +01:00
max197.c hwmon: (max197) remove unnecessary OOM messages 2014-05-21 16:02:22 -07:00
max1111.c hwmon: (max1111) remove unnecessary OOM messages 2014-05-21 16:02:22 -07:00
max1619.c hwmon: (max1619) Convert to use devm_hwmon_device_register_with_groups 2014-05-21 16:02:25 -07:00
max1668.c hwmon: (max1668) Make max1668_addr_list array const 2014-08-04 07:01:39 -07:00
max6639.c hwmon: (max6639) Make normal_i2c array const 2014-08-04 07:01:39 -07:00
max6642.c
max6650.c
max6697.c hwmon: (max6697) Use of_property_read_bool at appropriate places 2014-08-04 07:01:40 -07:00
max16065.c hwmon: (max16065) Use PTR_ERR_OR_ZERO 2014-08-04 07:01:38 -07:00
mc13783-adc.c
mcp3021.c
menf21bmc_hwmon.c hwmon: (menf21bmc) Include linux/err.h 2014-10-19 18:41:18 -07:00
nct6683.c hwmon: (nct6683) Fix probe unwind paths to properly unregister platform devices 2014-05-24 08:28:24 -07:00
nct6775.c hwmon: (nct6775) Remove num_attr_groups from struct nct6775_data 2014-08-04 07:01:40 -07:00
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 hwmon: (pc87427) remove unnecessary OOM messages 2014-05-21 16:02:22 -07:00
pcf8591.c
powr1220.c hwmon: Add support for Lattice's POWR1220 power manager IC 2014-08-04 07:01:33 -07:00
pwm-fan.c hwmon: (pwm-fan) Fix suspend/resume behavior 2014-11-11 10:39:45 -08:00
s3c-hwmon.c hwmon: (s3c-hwmon) remove unnecessary OOM messages 2014-05-21 16:02:22 -07:00
sch56xx-common.c
sch56xx-common.h
sch5627.c
sch5636.c
sht15.c
sht21.c hwmon: (sht21) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:38 -07:00
shtc1.c hwmon: add support for Sensirion SHTC1 sensor 2014-06-12 08:36:48 -07:00
sis5595.c hwmon: (sis5595) Prevent overflow problem when writing large limits 2014-08-04 09:15:46 -07:00
smm665.c hwmon: (smm665) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:37 -07:00
smsc47b397.c hwmon: (smsc47b397) Convert to devm_hwmon_device_register_with_groups 2014-09-22 11:14:52 -07:00
smsc47m1.c hwmon: (smsc47m1) Avoid forward declaration 2014-08-04 07:01:39 -07:00
smsc47m192.c hwmon: (smsc47m192) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:39 -07:00
thmc50.c hwmon: (thmc50) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:39 -07:00
tmp102.c hwmon: (tmp102) Convert to use hwmon_device_register_with_groups 2014-05-21 16:02:20 -07:00
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 hwmon: (tmp421) Drop FSF mailing address 2014-08-04 07:01:38 -07:00
twl4030-madc-hwmon.c hwmon: (twl4030-madc-hwmon) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:33 -07:00
ultra45_env.c hwmon: (ultra45_env) Introduce managed version of kzalloc 2014-05-21 16:02:27 -07:00
vexpress.c hwmon: vexpress: Use devm helper for hwmon device registration 2014-06-12 08:36:50 -07:00
via686a.c
via-cputemp.c
vt1211.c hwmon: (vt1211) Fix vrm write operation 2014-08-05 19:44:42 -07:00
vt8231.c
w83l785ts.c hwmon: Avoid initializing the same field twice 2014-04-04 18:01:34 +02:00
w83l786ng.c hwmon: (w83l786ng) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:34 -07:00
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 hwmon: Avoid initializing the same field twice 2014-04-04 18:01:34 +02:00
w83793.c hwmon: (w83793) Fix vrm write operation 2014-08-05 19:44:42 -07:00
w83795.c
wm831x-hwmon.c hwmon: (wm831x) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:34 -07:00
wm8350-hwmon.c hwmon: (wm8350) Convert to devm_hwmon_device_register_with_groups 2014-08-04 07:01:34 -07:00