MCPcopy Create free account
hub / github.com/RT-Thread/rt-thread / rt_driver_unregister

Function rt_driver_unregister

components/drivers/core/driver.c:45–52  ·  view source on GitHub ↗

* This function remove driver from system. * * @param drv the driver to be removed */

Source from the content-addressed store, hash-verified

43 * @param drv the driver to be removed
44 */
45rt_err_t rt_driver_unregister(rt_driver_t drv)
46{
47 rt_err_t ret;
48
49 ret = rt_bus_remove_driver(drv);
50
51 return ret;
52}
53RTM_EXPORT(rt_driver_unregister);

Callers

nothing calls this directly

Calls 1

rt_bus_remove_driverFunction · 0.85

Tested by

no test coverage detected