MCPcopy Create free account
hub / github.com/apache/nuttx / touch_unregister

Function touch_unregister

drivers/input/touchscreen_upper.c:510–524  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

508 ****************************************************************************/
509
510void touch_unregister(FAR struct touch_lowerhalf_s *lower,
511 FAR const char *path)
512{
513 FAR struct touch_upperhalf_s *upper;
514
515 DEBUGASSERT(lower != NULL);
516 DEBUGASSERT(lower->priv != NULL);
517
518 upper = lower->priv;
519 iinfo("UnRegistering %s\n", path);
520 unregister_driver(path);
521
522 nxmutex_destroy(&upper->lock);
523 kmm_free(upper);
524}

Callers 3

sim_tsc_uninitializeFunction · 0.85
virtio_input_removeFunction · 0.85
vnc_touch_unregisterFunction · 0.85

Calls 3

unregister_driverFunction · 0.85
nxmutex_destroyFunction · 0.85
kmm_freeFunction · 0.85

Tested by

no test coverage detected