| 508 | ****************************************************************************/ |
| 509 | |
| 510 | void 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 | } |
no test coverage detected