tty: Finish fixing up the init_dev interface to use ERR_PTR