[PATCH v2 0/3] chardev handling cleanups (chardev refactors part 1)