From: Ricardo Ribalda Delgado Date: Tue, 26 May 2015 07:31:23 +0000 (+0200) Subject: base/platform: Only insert MEM and IO resources X-Git-Tag: omap-for-v4.2/fixes-rc1^2~93^2~11 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=36d4b29260753ad78b1ce4363145332c02519adc;p=pandora-kernel.git 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 Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed