Jean Delvare
98ceb75c7c
macintosh/hwmon/ams: Fix device removal sequence
...
Some code that is in ams_exit() (the module exit code) should instead
be called when the device (not module) is removed. It probably doesn't
make much of a difference in the PMU case, but in the I2C case it does
matter.
I make no guarantee that my fix isn't racy, I'm not familiar enough
with the ams driver code to tell for sure.
Signed-off-by: Jean Delvare <khali@linux-fr.org>
Tested-by: Christian Kujau <lists@nerdbynature.de>
Cc: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Cc: Stelian Pop <stelian@popies.net>
Cc: Michael Hanselmann <linux-kernel@hansmi.ch>
Cc: stable@kernel.org
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
2010-02-03 17:39:49 +11:00
..
2010-02-03 17:39:49 +11:00
2009-09-15 17:18:13 +02:00
2009-09-15 17:18:13 +02:00
2008-09-20 10:25:20 +02:00
2009-09-23 07:39:43 -07:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2010-01-10 20:52:32 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2010-01-25 15:00:49 +01:00
2009-12-15 08:53:25 -08:00
2009-12-14 21:17:26 +01:00
2010-01-25 15:00:49 +01:00
2009-12-14 21:17:26 +01:00
2010-01-10 20:52:34 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2009-09-15 17:18:13 +02:00
2009-12-09 20:36:01 +01:00
2009-12-14 21:17:27 +01:00
2010-01-25 15:00:50 +01:00
2009-04-07 08:31:03 -07:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2009-09-15 17:18:13 +02:00
2009-10-29 07:39:32 -07:00
2009-09-15 17:18:11 +02:00
2009-06-15 18:39:50 +02:00
2009-01-07 16:37:33 +01:00
2009-06-15 18:39:46 +02:00
2009-01-06 15:59:18 -08:00
2009-12-09 20:35:48 +01:00
2010-01-10 20:52:35 +01:00
2010-01-10 20:52:35 +01:00
2010-01-11 09:45:55 -08:00
2009-12-17 15:45:30 -08:00
2009-10-08 07:36:40 -07:00
2009-12-15 08:53:36 -08:00
2009-12-15 08:53:36 -08:00
2009-12-14 21:17:26 +01:00
2009-09-23 07:39:43 -07:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-10-04 22:53:42 +02:00
2009-10-04 22:53:42 +02:00
2010-01-11 09:34:06 -08:00
2009-09-23 07:39:43 -07:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-12-09 20:35:58 +01:00
2009-09-15 17:18:13 +02:00
2009-09-15 17:18:13 +02:00
2009-12-14 21:17:26 +01:00
2009-12-09 20:35:45 +01:00
2009-12-16 21:38:28 +01:00
2010-01-10 20:52:35 +01:00
2009-09-15 17:18:13 +02:00
2010-01-25 15:00:48 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:27 +01:00
2008-08-31 01:23:17 -07:00
2010-01-10 20:52:35 +01:00
2009-12-16 21:38:28 +01:00
2009-09-15 17:18:13 +02:00
2010-01-10 20:52:35 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-12-15 08:53:35 -08:00
2009-12-16 21:38:29 +01:00
2009-12-14 21:17:27 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-12-14 21:17:26 +01:00
2009-09-17 09:47:02 +02:00
2009-09-17 09:46:51 +02:00