Files
linux/drivers
Jean Delvare 2451bd963f macintosh/hwmon/ams: Fix device removal sequence
commit 98ceb75c7c upstream.

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>
Signed-off-by: Benjamin Herrenschmidt <benh@kernel.crashing.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
2010-03-15 08:49:47 -07:00
..
2009-12-01 16:32:19 -08:00
2009-12-18 14:05:04 -08:00
2010-02-09 04:50:48 -08:00
2009-09-24 07:21:05 -07:00
2010-01-18 10:19:36 -08:00
2009-10-15 09:58:27 -06:00
2009-11-12 07:26:01 -08:00
2010-03-15 08:49:41 -07:00
2010-02-23 07:37:54 -08:00
2009-12-18 14:03:24 -08:00
2009-10-04 22:53:41 +02:00
2010-01-18 10:19:44 -08:00
2009-09-23 10:07:49 -07:00