[PATCH] tty_register_driver: Remove incorrect and superfluous cast