aboutsummaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorCharles Keepax <[email protected]>2012-11-09 16:15:28 +0000
committerSamuel Ortiz <[email protected]>2012-11-20 12:21:12 +0100
commitb9fbb62eb61452d728c39b2e5020739c575aac53 (patch)
tree0cba6c18d652ea5f43972245ea07ef30a639a91f /tools/perf/scripts/python
parentd511b9c3626c83874824b1118f8a2e84ef63a7d3 (diff)
mfd: Only unregister platform devices allocated by the mfd core
mfd_remove_devices would iterate over all devices sharing a parent with an mfd device regardless of whether they were allocated by the mfd core or not. This especially caused problems when the device structure was not contained within a platform_device, because to_platform_device is used on each device pointer. This patch defines a device_type for mfd devices and checks this is present from mfd_remove_devices_fn before processing the device. Cc: [email protected] Signed-off-by: Charles Keepax <[email protected]> Tested-by: Peter Tyser <[email protected]> Reviewed-by: Mark Brown <[email protected]> Signed-off-by: Samuel Ortiz <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions