Ricardo Ribalda Delgado 36d4b29260 base/platform: Only insert MEM and IO resources
platform_device_del only checks the type of the resource in order to
call release_resource.

On the other hand, platform_device_add calls insert_resource for any
resource that has a parent.

Make both code branches balanced.

Signed-off-by: Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2015-06-01 10:15:17 +09:00
..
2015-04-13 15:00:55 -07:00
2014-07-04 18:05:05 +01:00
2015-05-20 00:15:09 -07:00
2014-12-14 16:10:09 -08:00
2010-05-21 09:37:29 -07:00
2014-09-01 13:48:59 +02:00