Russell King abbf268ae8 [DRIVER MODEL] Fix gbefb
Statically allocated devices in module data is a potential cause
of oopsen.  The device may be in use by a userspace process, which
will keep a reference to the device.  If the module is unloaded,
the module data will be freed.  Subsequent use of the platform
device will cause a kernel oops.

Use generic platform device allocation/release code in modules.

Signed-off-by: Russell King <rmk+kernel@arm.linux.org.uk>
Acked-by: Greg Kroah-Hartman <gregkh@suse.de>
2005-11-05 21:22:13 +00:00
..
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:10 -08:00
2005-07-30 09:47:53 -05:00
2005-10-31 13:37:12 +11:00
2005-10-28 10:13:16 -07:00
2005-10-31 09:20:54 -08:00
2005-10-30 17:37:32 -08:00
2005-11-02 15:20:55 +11:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:32 -08:00
2005-11-05 21:21:10 +00:00
2005-04-16 15:20:36 -07:00
2005-10-28 12:18:07 -04:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:32 -08:00
2005-11-02 18:15:43 +11:00
2005-10-30 17:37:32 -08:00
2005-06-21 18:46:32 -07:00
2005-11-05 21:22:13 +00:00
2005-10-30 17:37:32 -08:00
2005-10-30 17:37:32 -08:00
2005-09-11 19:15:07 -07:00
2005-10-28 16:47:38 -07:00