Matthew Garrett f14413184b eeepc-laptop: fix use after free
eeepc-laptop uses the hwmon struct after unregistering the device, causing
an oops on module unload.  Flip the ordering to fix.

Signed-off-by: Matthew Garrett <mjg@redhat.com>
Cc: Henrique de Moraes Holschuh <hmh@hmh.eng.br>
Cc: Corentin Chary <corentincj@iksaif.net>
Cc: Karol Kozimor <sziwan@users.sourceforge.net>
Cc: <stable@kernel.org>		[2.6.26.x]
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
2008-08-20 15:40:30 -07:00
..
2008-06-20 14:05:57 -06:00
2008-03-04 13:41:23 +01:00
2008-07-16 23:27:01 +02:00
2008-07-25 10:53:28 -07:00
2008-07-21 21:55:02 -07:00
2008-07-21 21:55:02 -07:00
2008-04-29 12:24:24 -04:00
2008-03-30 14:18:41 -07:00
2008-07-25 10:53:44 -07:00
2008-07-02 15:06:25 -06:00