Name
acpi_bus_trim_platform_device —
Check and remove a platform device from a bus
Synopsis
int acpi_bus_trim_platform_device ( | struct device * dev, |
| | void * data); |
Arguments
dev
Platform device to check
data
pointer to the acpi_device to check dev against
Description
Checks whether the platform_device dev belongs to the acpi_device
data and unregisters dev if it matches.