[PATCH 2/5] platform: reorder platform_device_del

2007-05-02 Thread Greg Kroah-Hartman
From: Jean Delvare <[EMAIL PROTECTED]> In platform_device_del(), we currently delete the device resources first, then we delete the device itself. This causes a (minor) bug to occur when one unregisters a platform device before unregistering its platform driver, and the driver is requesting (in

[PATCH 2/5] platform: reorder platform_device_del

2007-05-02 Thread Greg Kroah-Hartman
From: Jean Delvare [EMAIL PROTECTED] In platform_device_del(), we currently delete the device resources first, then we delete the device itself. This causes a (minor) bug to occur when one unregisters a platform device before unregistering its platform driver, and the driver is requesting (in