[PATCH 6.12 114/277] media: lirc: Fix error handling in lirc_register()