void amba_device_unregister (struct amba_device * dev);
Remove the specified AMBA device from the Linux device manager. All files associated with this object will be destroyed, and device drivers notified that the device has been removed. The AMBA device's resources including the amba_device structure will be freed once all references to it have been dropped.