linux-stable-rt/drivers/hwmon
Darrick J. Wong fe2d5ffc74 Fix platform drivers that crash on suspend/resume
It turns out that if one registers a struct platform_device, the
platform device code expects that platform_device.device->driver points
to a struct driver inside a struct platform_driver.

This is not the case with the ipmi-si, ipmi-msghandler and ibmaem
drivers, which causes the suspend/resume hook functions to jump off into
nowhere, causing a crash.  Make this assumption hold true for these
three drivers.

Signed-off-by: Darrick J. Wong <djwong@us.ibm.com>
Acked-by: Corey Minyard <cminyard@mvista.com>
Cc: Jean Delvare <khali@linux-fr.org>
Cc: Kay Sievers <kay.sievers@vrfy.org>
Cc: Greg KH <greg@kroah.com>
Cc: <stable@kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-11-12 17:17:16 -08:00
..
ams hwmon: (ams) Simplify IRQ handling routine 2008-10-17 17:51:13 +02:00
Kconfig hwmon: (lm90) Support MAX6646, MAX6647 and MAX6649 2008-10-17 17:51:11 +02:00
Makefile Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/torvalds/linux-2.6 2008-10-11 12:39:35 -07:00
abituguru.c
abituguru3.c hwmon: (abituguru3) enable DMI probing feature on AW9D-MAX 2008-10-26 17:04:40 +01:00
ad7414.c hwmon: (ad7414) Make ad7414_update_device() static 2008-09-20 10:25:20 +02:00
ad7418.c
adcxx.c
adm1021.c
adm1025.c
adm1026.c hwmon: (adm1026) Prevent log spamming 2008-10-17 17:51:20 +02:00
adm1029.c hwmon: (adm1029) Use mask for fan_div value 2008-10-17 17:51:20 +02:00
adm1031.c
adm9240.c
ads7828.c
adt7470.c
adt7473.c hwmon: (adt7473) Fix voltage conversion routines 2008-10-26 17:04:40 +01:00
applesmc.c hwmon: applesmc: add support for Macbook 4 2008-11-12 17:17:16 -08:00
asb100.c
atxp1.c
coretemp.c
dme1737.c hwmon: (dme1737) Convert to a new-style i2c driver 2008-10-14 17:30:04 +02:00
ds1621.c
f71805f.c
f71882fg.c
f75375s.c
fscher.c
fschmd.c
fscpos.c
gl518sm.c
gl520sm.c
hdaps.c
hwmon-vid.c hwmon-vid: Add support for AMD family 10h CPUs 2008-10-26 17:04:39 +01:00
hwmon.c device create: misc: convert device_create_drvdata to device_create 2008-10-16 09:24:43 -07:00
i5k_amb.c
ibmaem.c Fix platform drivers that crash on suspend/resume 2008-11-12 17:17:16 -08:00
ibmpex.c hwmon: (ibmpex) Automatically load on IBM systems via DMI 2008-10-17 17:51:19 +02:00
it87.c hwmon: (it87) Fix thermal sensor type values 2008-10-17 17:51:16 +02:00
k8temp.c
lm63.c
lm70.c
lm75.c
lm75.h
lm77.c
lm78.c hwmon: (lm78) Convert to a new-style i2c driver 2008-10-17 17:51:16 +02:00
lm80.c
lm83.c
lm85.c hwmon: (lm85) Better label names 2008-10-17 17:51:14 +02:00
lm87.c hwmon: (lm87) Add support for configuration through platform_data 2008-10-17 17:51:12 +02:00
lm90.c hwmon: (lm90) Add support for the LM99 16 degree offset 2008-10-26 17:04:39 +01:00
lm92.c
lm93.c
max1111.c hwmon: add max1111_read_channel() for use by sharpsl_pm 2008-09-23 22:04:32 +01:00
max1619.c hwmon: (max1619) Use inline functions instead of macros 2008-10-17 17:51:16 +02:00
max6650.c
pc87360.c hwmon/pc87360 separate alarm files: add therm-min/max/crit-alarms 2008-10-20 08:52:35 -07:00
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 hwmon: (w83781d) Fix linking when built-in 2008-10-26 17:04:38 +01:00
w83791d.c hwmon: (w83791d) add support for thermal cruise mode 2008-10-17 17:51:17 +02:00
w83792d.c
w83793.c