diff options
author | Ricardo Ribalda Delgado <ricardo.ribalda@gmail.com> | 2015-05-26 09:31:23 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2015-06-01 03:15:17 +0200 |
commit | 36d4b29260753ad78b1ce4363145332c02519adc (patch) | |
tree | cd1e26be2343ba475057caf1b9357bd9f5480958 /Kbuild | |
parent | firmware: use const for remaining firmware names (diff) | |
download | linux-36d4b29260753ad78b1ce4363145332c02519adc.tar.xz linux-36d4b29260753ad78b1ce4363145332c02519adc.zip |
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>
Diffstat (limited to 'Kbuild')
0 files changed, 0 insertions, 0 deletions