Generate events when devices are probed or removed, allowing hooks to be added for these situations. This is controlled by the DM_EVENT config option. Signed-off-by: Simon Glass <sjg@chromium.org>
Add a test for event registration and activation. Signed-off-by: Simon Glass <sjg@chromium.org>