Input: handle failures in input_register_device()