[PATCH 00/14] Cleanup chardev instances with helper function