[PATCH 6.1 067/168] media: lirc: Fix error handling in lirc_register()