media: cec: core: consolidate error path in cec_allocate_adapter()

Consolidate error path in cec_allocate_adapter() so next changes
will be less verbose.

Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil+cisco@kernel.org>
This commit is contained in:
Andy Shevchenko 2026-07-09 10:20:53 +02:00 • committed by Hans Verkuil
commit fa17e189bb