[PATCH 5.15 007/123] media: lirc: Fix error handling in lirc_register()