cpiowriter: Fix mkchardev

Signed-off-by: Andy Lutomirski <luto@amacapital.net>
Fix various cases of device node confusion

Signed-off-by: Andy Lutomirski <luto@amacapital.net>