[PATCH v2] media: lirc: Fix error handling in lirc_register()