[PATCH 6.6 077/201] media: lirc: Fix error handling in lirc_register()