/**
* Component private data deallocation function type.
*
- * @param data Component private data
+ * @param component Component instance
*/
-typedef void (*bt_component_destroy_cb)(void *data);
+typedef void (*bt_component_destroy_cb)(struct bt_component *component);
/**
* Component initialization function type.
/**
* Notification handling function type.
*
- * A reference must be taken on the notification if the component wishes to
+ * A reference must be taken on the notification if the component has to
* keep ownership of the notification beyond the invocation of the callback.
*
* @param sink Sink component instance