vinput: Fix missing error code
Fix the missing error code when register_chrdev() failed.
The report is from Smatch:
Smatch failed: 1 warning(s), 0 error(s)
/home/runner/work/lkmpg/lkmpg/examples/vinput.c:372 vinput_init() warn: missing error code 'err'